Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top