I am writing a program to detect crop rows in uav imagery and I have successfully managed to detect crop rows in cropped sections of the image using opencv and python, however the issue I am running into now is how to go about detecting the end of a crop row.
The image is of a field(Cant share it publicly) and I am attempting to detect all the rows in that field, I can detect the rows however currently I am simply draw the line along the row from the top to bottom of the image. Instead I would like draw this line from the start to end of the crop row.
i.e. smething like this https://i.stack.imgur.com/WUkg6.jpg (Not enough rep to post images yet) But essentially I need to detect the end of the row so I can draw the line to the just the end of the row.
Any Ideas on how this might be done?