Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Detection of contours intersections

$
0
0
I have two contour images and I would like to find the contours intersection. So far I've succesfully used the *logical and* operation, unfortunately I've fallen into this case: ![image description](/upfiles/14750645328121303.jpg) As you can see, the *logical and* operation is going to fail because there isn't any intersection. If the red contours is in image A, and blue contour is in image B, I would like a way to return the two red pixel indicated by the arrow. Does openCV provide some function to do that? In case there isn't, how would you solve this problem? Thank you.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>