arucoGenerateImageMarker function
Mat
arucoGenerateImageMarker(
- PredefinedDictionaryType dictionaryId,
- int id,
- int sidePixels,
- int borderBits, [
- Mat? outImg,
Implementation
Mat arucoGenerateImageMarker(
PredefinedDictionaryType dictionaryId,
int id,
int sidePixels,
int borderBits, [
Mat? outImg,
]) {
final p = outImg?.ptr ?? calloc<ccontrib.Mat>();
cvRun(
() => ccontrib.ArucoGenerateImageMarker(
dictionaryId.value,
id,
sidePixels,
borderBits,
p,
),
);
return outImg ?? Mat.fromPointer(p);
}