Find a contour of some known object
Assuming a picture has got some known object, how to find its contour? For example, let's say there is a photo of a cat. How to find the cat's face contour? I tried cv::findContours - it detects many irrelevant contour paths and I have no idea how to get rid of them.
Thanks!