package documentation

Exporters that convert LDF datasets to external formats.

This package contains exporter implementations for writing Luxonis Data Format (LDF) datasets into common annotation formats used by training frameworks, dataset tools, and interchange workflows. Exporters operate on prepared LDF records and write format-specific image references, annotation files, labels, and metadata as required by the target format.

BaseExporter defines the exporter interface and shared dataset-selection behavior. PreparedLDF resolves the dataset dataframe, split mapping, class metadata, and media paths used by concrete exporters.

Export targets
Exporter Target format
CocoExporter COCO detection, segmentation, and keypoint annotations.
YoloV8Exporter, YoloV8InstanceSegmentationExporter, YoloV8KeypointsExporter Ultralytics YOLOv8 task formats.
YoloV6Exporter, YoloV4Exporter, DarknetExporter YOLO-family text-label formats.
VOCExporter, CreateMLExporter, TensorflowCSVExporter VOC XML, CreateML JSON, and TensorFlow CSV annotations.
ClassificationDirectoryExporter, FiftyOneClassificationExporter Classification datasets organized for directory or FiftyOne-style workflows.
SegmentationMaskDirectoryExporter Semantic segmentation masks stored as image files.
NativeExporter, UltralyticsNDJSONExporter Native LDF and Ultralytics NDJSON interchange formats.
Module base_exporter Undocumented
Module classification_directory_exporter Undocumented
Module coco_exporter Undocumented
Module createml_exporter Undocumented
Module darknet_exporter Undocumented
Module exporter_utils No module docstring; 1/7 function, 1/1 class documented
Module fiftyone_classification_exporter Undocumented
Module native_exporter Undocumented
Module segmentation_mask_directory_exporter Undocumented
Module tensorflow_csv_exporter Undocumented
Module ultralytics_ndjson_exporter Undocumented
Module voc_exporter Undocumented
Module yolov4_exporter Undocumented
Module yolov6_exporter Undocumented
Module yolov8_bbox_exporter Undocumented
Module yolov8_instance_segmentation_exporter Undocumented
Module yolov8_keypoints_exporter Undocumented

From __init__.py:

Class BaseExporter Base class for dataset exporters.
Class ClassificationDirectoryExporter Undocumented
Class CocoExporter Exporter for COCO dataset format.
Class CreateMLExporter Undocumented
Class DarknetExporter Export object detection data in Darknet format.
Class FiftyOneClassificationExporter Export FiftyOne classification data.
Class NativeExporter Exporter for LDF format.
Class PreparedLDF Lightweight container for LDF data ready for export.
Class SegmentationMaskDirectoryExporter Export semantic segmentation masks in directory format.
Class TensorflowCSVExporter Undocumented
Class UltralyticsNDJSONExporter Export datasets in Ultralytics NDJSON format.
Class VOCExporter No class docstring; 0/1 instance variable, 0/6 method, 1/3 static method documented
Class YoloV4Exporter Export object detection data in YOLOv4 format.
Class YoloV6Exporter Export object detection data in YOLOv6 format.
Class YoloV8Exporter Export bounding-box annotations in YOLOv8 format.
Class YoloV8InstanceSegmentationExporter Export instance-segmentation annotations in YOLOv8 format.
Class YoloV8KeypointsExporter Export keypoint annotations in YOLOv8 pose format.