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(
    () => cffi.ArucoDetector_NewWithParams(dictionary.ref, parameters.ref, p),
  );
  return ArucoDetector._(p);
}