ArucoDetector.create constructor

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

Implementation

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