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!