arucoGenerateImageMarkerAsync function
Future<Mat>
arucoGenerateImageMarkerAsync(
- PredefinedDictionaryType dictionaryId,
- int id,
- int sidePixels,
- int borderBits, [
- Mat? outImg,
Implementation
Future<Mat> arucoGenerateImageMarkerAsync(
PredefinedDictionaryType dictionaryId,
int id,
int sidePixels,
int borderBits, [
Mat? outImg,
]) async {
outImg ??= Mat.empty();
return cvRunAsync0(
(callback) => ccontrib.cv_aruco_generateImageMarker(
dictionaryId.value,
id,
sidePixels,
borderBits,
outImg!.ref,
callback,
), (c) {
c.complete(outImg);
});
}