Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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!

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> Ptr<featuredetector> blobDetector = SimpleBlobDetector::create(params); findCirclesGrid(image, boardsize, centers, CALIB_CB_ASYMMETRIC_GRID, blobDetector); blobDetector);

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

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;

params.filterByConvexity = false; Ptr<featuredetector> false;

Ptr<FeatureDetector> blobDetector = SimpleBlobDetector::create(params); 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!