Question

I was wondering whether it is possible to combine a bunch of feature points (detected by, lets say GoodFeaturestoTrack() ) and create a solid blob out of them?

If not, then how can I ensure detection of a solid object in an image sequence.

Était-ce utile?

La solution

In OpenCV, you can use convexHull() to find the convex hull of a point set.


Edit: if you simply need a bounded rectangle, in OpenCV, you can call boundingRect() instead.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top