ArucoDetector.create constructor

ArucoDetector.create(
  1. ArucoDictionary dictionary,
  2. ArucoDetectorParameters parameters
)

Implementation

factory ArucoDetector.create(ArucoDictionary dictionary, ArucoDetectorParameters parameters) {
  final p = calloc<cvg.ArucoDetector>();
  cvRun(
    () => ccontrib.cv_aruco_arucoDetector_create_1(
      dictionary.ref,
      parameters.ref,
      p,
    ),
  );
  return ArucoDetector.fromPointer(p);
}