Optimization of a line detection algorithm for autonomous vehicles on a RISC-V with accelerator