Ask Your Question

Revision history [back]

how to find two acircles grids

image description current i have this picture. i need to find this two acircles , can any body can help me? i use


    bool found;
vector<Point2f> corners;
SimpleBlobDetector::Params params;
params.filterByColor = true;
//params.filterByArea = false;
//params.minArea = 1e2;
//params.maxArea = 1e4;
params.blobColor = 255;

Ptr<FeatureDetector> blobDetector = SimpleBlobDetector::create(params);
found = findCirclesGrid(img, Size(7, 1), corners, cv::CALIB_CB_ASYMMETRIC_GRID | cv::CALIB_CB_CLUSTERING, blobDetector);

but this code is failed to capture. can any body help me?