class documentation
class FiftyOneUnlabeledMediaSampleParser(MediaSampleParser): (source)
Constructor: FiftyOneUnlabeledMediaSampleParser(compute_metadata)
Parser for fiftyone.core.sample.Sample
instances that contain
unlabeled media.
Parameters | |
compute | whether to compute
fiftyone.core.metadata.Metadata instances on-the-fly if
get_metadata is called and no metadata is available |
Method | __init__ |
Undocumented |
Method | get |
Returns the media path for the current sample. |
Method | get |
Returns the metadata for the current sample. |
Instance Variable | compute |
Undocumented |
Property | has |
Whether this parser produces fiftyone.core.metadata.Metadata instances for samples that it parses. |
Inherited from SampleParser
(via MediaSampleParser
, UnlabeledMediaSampleParser
):
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 |