findChessboardCornersSB function
(bool, VecPoint2f)
findChessboardCornersSB(
- InputArray image,
- (int, int) patternSize, {
- int flags = 0,
- VecPoint2f? corners,
Implementation
(bool, VecPoint2f corners) findChessboardCornersSB(
InputArray image,
(int, int) patternSize, {
int flags = 0,
VecPoint2f? corners,
}) {
final pCorners = calloc<cvg.VecPoint2f>();
final p = calloc<ffi.Bool>();
cvRun(
() => ccalib3d.cv_findChessboardCornersSB(
image.ref,
patternSize.toSize().ref,
pCorners,
flags,
p,
ffi.nullptr,
),
);
final rval = p.value;
calloc.free(p);
return (rval, VecPoint2f.fromPointer(pCorners));
}