Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top