GFTTDetector.create constructor
GFTTDetector.create({})
CV_WRAP static Ptr<GFTTDetector> create( int maxCorners=1000, double qualityLevel=0.01, double minDistance=1,
int blockSize=3, bool useHarrisDetector=false, double k=0.04 );
Implementation
factory GFTTDetector.create({
int maxFeatures = 1000,
double qualityLevel = 0.01,
double minDistance = 1,
int blockSize = 3,
bool useHarrisDetector = false,
double k = 0.04,
}) {
final p = calloc<cvg.GFTTDetector>();
cvRun(
() => cfeatures2d.cv_GFTTDetector_create_2(
maxFeatures,
qualityLevel,
minDistance,
blockSize,
useHarrisDetector,
k,
p,
),
);
return GFTTDetector._(p);
}