darwin.exporter.formats.helpers package
Submodules
darwin.exporter.formats.helpers.yolo_class_builder module
- darwin.exporter.formats.helpers.yolo_class_builder.build_class_index(annotation_files: Iterable[AnnotationFile], include_types: List[str] = ['bounding_box', 'polygon']) Dict[str, int] [source]
- darwin.exporter.formats.helpers.yolo_class_builder.export_file(annotation_file: AnnotationFile, class_index: Dict[str, int], output_dir: Path, build_function: Callable[[AnnotationFile, Dict[str, int]], str]) None [source]