Answer the question
In order to leave comments, you need to log in
OpenCV: how to draw borders of flat objects?
Hello. In general, there is a task: imposing lines on the video stream that define the boundaries of flat surfaces. I think that first you need to select the boundaries of all objects using the cvCanny () function, then find the contours with cvFindContours (), and then perform some kind of post-processing. My variant: present the contours as a tree of their nesting. If I find many internal ones inside the outer contour, then this is not a flat object, and we do nothing with this contour. Otherwise, we draw on the picture. Any better ideas? And if not, how can I implement mine?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question