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<cvg.Mat>();
cvRun(
() => cffi.ArucoGenerateImageMarker(
dictionaryId.value,
id,
sidePixels,
borderBits,
p,
),
);
return outImg ?? Mat.fromPointer(p);
}