ArucoDictionary.predefined constructor

ArucoDictionary.predefined(
  1. PredefinedDictionaryType type
)

Implementation

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