detectMultiScale2 method
(VecRect, VecI32)
detectMultiScale2(
- InputArray image, {
- double scaleFactor = 1.1,
- int minNeighbors = 3,
- int flags = 0,
- (int, int) minSize = (0, 0),
- (int, int) maxSize = (0, 0),
})
Implementation
(VecRect objects, VecI32 numDetections) detectMultiScale2(
InputArray image, {
double scaleFactor = 1.1,
int minNeighbors = 3,
int flags = 0,
(int, int) minSize = (0, 0),
(int, int) maxSize = (0, 0),
}) {
final ret = VecRect();
final pnums = VecI32();
cvRun(
() => cobjdetect.cv_CascadeClassifier_detectMultiScale_2(
ref,
image.ref,
ret.ptr,
pnums.ptr,
scaleFactor,
minNeighbors,
flags,
minSize.cvd.ref,
maxSize.cvd.ref,
ffi.nullptr,
),
);
return (ret, pnums);
}