OpenCV C++ cv::convexityDefects error

前端 未结 2 1311
北荒
北荒 2021-01-29 03:26
vector hull;
vector defects;
convexHull(Mat(largest),hull,false);
convexityDefects(largest,hull,defects);

*largest i

2条回答
  •  情深已故
    2021-01-29 04:15

    The second argument of convexityDefects has to be the type of vector, while yours is vector.

提交回复
热议问题