on-internet
← Community

Python distance between two curved lines

Stack Overflow ·

I have an image with two lines, the right line is supposed to be the Zero line and I want to get the distance to the left line (very precise). But somehow I'm not able to find a way to get this information. I want to get the distance between those two lines as Height Information. The right line is the ground line and the left one is the one to measure the distance from. Edit: So the Image is the result of an OpenCV addWeighted operation. Due to the Green color I tried to run it with the Numpy where() function to get at least the green lines but that was a complete fail. while x<966: y=0 while

Comments

Sign in or sign up to comment and upvote.

No comments yet.