ORB.create constructor
ORB.create({})
returns a new ORB algorithm with parameters
For further details, please see: https://docs.opencv.org/master/db/d95/classcv_1_1ORB.html#aeff0cbe668659b7ca14bb85ff1c4073b
Implementation
factory ORB.create({
int nFeatures = 500,
double scaleFactor = 1.2,
int nLevels = 8,
int edgeThreshold = 31,
int firstLevel = 0,
int WTA_K = 2,
ORBScoreType scoreType = ORBScoreType.HARRIS_SCORE,
int patchSize = 31,
int fastThreshold = 20,
}) {
final p = calloc<cvg.ORB>();
cvRun(
() => cfeatures2d.cv_ORB_create_1(
nFeatures,
scaleFactor,
nLevels,
edgeThreshold,
firstLevel,
WTA_K,
scoreType.value,
patchSize,
fastThreshold,
p,
),
);
return ORB._(p);
}