[Image to be cropped:] (https://i.stack.imgur.com/hzYzG.png)
[Expected Image:] (https://i.stack.imgur.com/yzuj2.png)
I have implemented manual ROI cropping into the algorithm, but it needs to be automated. Tried to use colors for ROI identification but was not successful. The route needs to be extracted for further image processing.
Any help will be deeply appreciated.