I trained an algorithm for road semantic segmentation that gives an output like this:

enter image description here

I want to retrieve the coordinates of the vanishing point (the top of the triangle) and to fit two lines corresponding to the black-red transition. How can I do it with Python?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.