I'm new to opencv in c++. And I know now that I can detect objects using color detection. And the final result of the color detection process are the the contours, which represents the area of the detected object.
But how can I handle these contours after I find them? I searched for a way to use the contours in an useful application and not just displaying them on screen, but I did not find any code that shows me how can I really use them.
So my question is how can I use the contours In any application after I find them? for example, counting the number of fingers for a hand gesture from the contours, or calling a function when I move my finger over a red object, or finding the angle or distance between two objects. The only thing I found on the internet about contours in opencv c++ is how to find them and not how to use them. How can I use them.
↧