Ask Your Question

HolyMoly's profile - activity

2017-06-29 05:56:06 -0600 commented answer Pass SimpleBlobDetector object to findCirclesGrid in Android

Ah! Is there any reason why you can't do that only in the java version? Will mucking about the source code help? Thanks!

2017-06-29 04:14:39 -0600 received badge  Editor (source)
2017-06-29 04:12:16 -0600 asked a question Pass SimpleBlobDetector object to findCirclesGrid in Android

Hi y'all, I am using OpenCV 3.2.0 on Android to detect an asymmetrical circle grid. I want to modify the default parameters of SimpleBlobDetector and pass it on findCircleGrid() to improve the detection rate. I can get as far as modifying the params but I am unable to pass this object to findCirclesGrid. In fact, findCirclesGrid does not take in a fourth parameter in the Android version. I am able to do it successfully in C++ like this:

SimpleBlobDetector::Params params;

params.filterByConvexity = false;

Ptr<FeatureDetector> blobDetector = SimpleBlobDetector::create(params);

findCirclesGrid(image, boardsize, centers, CALIB_CB_ASYMMETRIC_GRID, blobDetector);

Is there any way to do this in Android version of OpenCV? Thanks in advance!

2017-06-21 10:48:28 -0600 commented question findCircleGrid detection, how to debug?

Hi nikitos1550, Can you elaborate on how you ended up solving this issue? I am facing a similar problem albeit with an asymmetrical pattern. I am unable to place a finger on when and why findCirclesGrid is failing.

2017-06-21 10:45:28 -0600 asked a question findCirclesGrid failing unexpectedly on similar image

Hi! I am using OpenCV 2.4 on Ubuntu and I am trying to detect an asymmetric circle grid. First I am cropping and warping the image and in the resulting image I am using findCirclesGrid. It is working fine in around 40% of the cases but fails arbitrarily even when the images are visually very similar. e.g.: Successful detection here but doesn't work on this.

I have also tried enabling CALIB_CB_CLUSTERING flag and weirdly that seems to make things worse for me. Manipulating parameters for the SImpleBlobDetector doesn't work in a consistent way for all the images. What could be going wrong? Is there a way to debug it systematically and visually observe where findCirclesGrid is failing?