ArucoDictionary.predefined constructor

ArucoDictionary.predefined(
  1. PredefinedDictionaryType type
)

Implementation

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