Ask Your Question
0

I have trouble in finding the circular grid using the function cv.findCirclesGrid

asked 2019-05-29 12:57:59 -0600

updated 2019-05-29 13:37:20 -0600

supra56 gravatar image

My link to image is https://drive.google.com/open?id=1Leg.... My code is ++++++++++++++++++++++++++++++++

I=imread('Pattern4.png');
obj = cv.SimpleBlobDetector('MinThreshold',10,'MaxThreshold',255,'ThresholdStep',10,'FilterByColor',true,'BlobColor',255);
keypoints = obj.detect(I2);
im_with_keypoints = cv.drawKeypoints(I2, keypoints,'DrawRichKeypoints',true);
im_with_keypoints_gray = cv.cvtColor(im_with_keypoints,'RGB2GRAY');
imshow(im_with_keypoints) 
[ret,corners] = cv.findCirclesGrid(im_with_keypoints,[2,2]);

+++++++++++++++++++++++++++++

Please tell me why i cannot detect the circular grid?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-06-01 07:45:17 -0600

supra56 gravatar image

Try this:

ret, corners = cv.findCirclesGrid(gray, (2,2), None, flags = cv.CALIB_CB_ASYMMETRIC_GRID)
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-05-29 12:57:59 -0600

Seen: 362 times

Last updated: Jun 01 '19