ArucoDictionary.predefined constructor

ArucoDictionary.predefined(
  1. PredefinedDictionaryType type
)

Implementation

factory ArucoDictionary.predefined(PredefinedDictionaryType type) {
  final p = calloc<cvg.ArucoDictionary>();
  cvRun(() => ccontrib.cv_aruco_getPredefinedDictionary(type.value, p));
  return ArucoDictionary._(p);
}