class documentation
class MediaSampleParser(UnlabeledMediaSampleParser): (source)
Known subclasses: fiftyone.utils.data.parsers.FiftyOneUnlabeledMediaSampleParser
Sample parser that parses unlabeled media samples.
This implementation assumes that the provided sample is a path to a media file on disk.
Method | get |
Returns the media path for the current sample. |
Property | has |
Whether this parser produces fiftyone.core.metadata.Metadata instances for samples that it parses. |
Inherited from UnlabeledMediaSampleParser
:
Method | get |
Returns the metadata for the current sample. |
Inherited from SampleParser
(via UnlabeledMediaSampleParser
):
Method | __init__ |
Undocumented |
Method | clear |
Clears the current sample. |
Method | with |
Sets the current sample so that subsequent calls to methods of this parser will return information from the given sample. |
Property | current |
The current sample. |
Instance Variable | _current |
Undocumented |