how to find two acircles grids
current i have this picture. i need to find this two acircles , can any body can help me? i use
Blockquote
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?
your image / pattern / size looks wrong, have a look at the 4x11 asym pattern this should be 2 columns, and there's a point missing, each row needs same number of circles
you probably also have to split the image, and detect on each half seperately
sorry, i generate it with python gen_pattern.py -o d://out.svg --rows 7 --columns 1 --type acircles --square_size 30 --radius_rate 3 .. i don't known why it is wrong