문제

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