Text this: An algorithm for lane detection based on RIME optimization and optimal threshold