class documentation

Parser for samples in FiftyOne video labels datasets.

See :ref:`this page <FiftyOneVideoLabelsDataset-import>` for format details.

Parameters
expandwhether to expand the labels for each frame into separate fiftyone.core.labels.Label instances
prefixa string prefix to prepend to each label name in the expanded frame label dictionaries
labels_dicta dictionary mapping names of attributes/objects in the frame labels to field names into which to expand them
multilabelwhether to store attributes in a single fiftyone.core.labels.Classifications instance
skip_non_categoricalwhether to skip non-categorical attributes (True) or cast them to strings (False)

Inherited from VideoLabelsSampleParser:

Method __init__ Undocumented
Method clear_sample Clears the current sample.
Method get_frame_labels Returns the frame labels for the current sample.
Method get_label Returns the sample-level labels for the current sample.
Method get_video_path Returns the video path for the current sample.
Instance Variable frame_labels_dict Undocumented
Property frame_labels_cls The fiftyone.core.labels.Label class(es) returned by this parser within the frame labels that it produces.
Property has_video_metadata Whether this parser produces fiftyone.core.metadata.VideoMetadata instances for samples that it parses.
Property label_cls The fiftyone.core.labels.Label class(es) returned by this parser within the sample-level labels that it produces.
Method _parse_labels Undocumented
Instance Variable _curr_frames Undocumented
Instance Variable _curr_label Undocumented

Inherited from LabeledVideoSampleParser (via VideoLabelsSampleParser):

Method get_video_metadata Returns the video metadata for the current sample.

Inherited from SampleParser (via VideoLabelsSampleParser, LabeledVideoSampleParser):

Method with_sample Sets the current sample so that subsequent calls to methods of this parser will return information from the given sample.
Property current_sample The current sample.
Instance Variable _current_sample Undocumented