CharucoBoard.create constructor
CharucoBoard.create(})
Implementation
factory CharucoBoard.create(
(int, int) size,
double squareLength,
double markerLength,
ArucoDictionary dictionary, {
VecI32? ids,
}) {
final p = calloc<cvg.CharucoBoard>();
final sz = size.cvd;
cvRun(
() => ids == null
? ccontrib.cv_aruco_charucoBoard_create_1(sz.ref, squareLength, markerLength, dictionary.ref, p)
: ccontrib.cv_aruco_charucoBoard_create_2(
sz.ref,
squareLength,
markerLength,
dictionary.ref,
ids.ref,
p,
),
);
sz.dispose();
return CharucoBoard._(p);
}