class documentation

class KITTIAnnotationWriter(object): (source)

View In Hierarchy

Class for writing annotations in KITTI detection format.

See :ref:`this page <KITTIDetectionDataset-export>` for format details.

Method write Writes the detections to disk.
def write(self, detections, metadata, txt_path): (source) ΒΆ

Writes the detections to disk.

Parameters
detectionsa fiftyone.core.labels.Detections instance
metadataa fiftyone.core.metadata.ImageMetadata instance
txt_paththe path to write the annotation TXT file