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.
質問
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.