mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Merge pull request #22234 from vrabaud:34_calib
This commit is contained in:
commit
a233232b7d
@ -1256,7 +1256,7 @@ int ChessBoardDetector::cleanFoundConnectedQuads(std::vector<ChessBoardQuad*>& q
|
||||
Mat points(1, quad_count, CV_32FC2, ¢ers[0]);
|
||||
cv::convexHull(points, hull, true);
|
||||
centers[skip] = temp;
|
||||
double hull_area = contourArea(hull, true);
|
||||
double hull_area = contourArea(hull, false);
|
||||
|
||||
// remember smallest box area
|
||||
if (hull_area < min_box_area)
|
||||
|
Loading…
Reference in New Issue
Block a user