class documentation

Undocumented

Method __init__ Undocumented
Method get_label Returns the label for the current sample.
Instance Variable image_field Undocumented
Instance Variable objects_field Undocumented
Method _get_image Undocumented
Method _parse_bbox Undocumented
Method _parse_label Undocumented

Inherited from ImageDetectionSampleParser:

Instance Variable attributes_field Undocumented
Instance Variable bounding_box_field Undocumented
Instance Variable classes Undocumented
Instance Variable confidence_field Undocumented
Instance Variable label_field Undocumented
Instance Variable normalized Undocumented
Property label_cls The fiftyone.core.labels.Label class(es) returned by this parser.
Method _parse_detection Undocumented

Inherited from LabeledImageTupleSampleParser (via ImageDetectionSampleParser):

Method clear_sample Clears the current sample.
Method get_image Returns the image from the current sample.
Method get_image_path Returns the image path for the current sample.
Property has_image_metadata Whether this parser produces fiftyone.core.metadata.ImageMetadata instances for samples that it parses.
Property has_image_path Whether this parser produces paths to images on disk for samples that it parses.
Method _parse_image Undocumented
Instance Variable _current_image_cache Undocumented
Property _current_image Undocumented

Inherited from LabeledImageSampleParser (via ImageDetectionSampleParser, LabeledImageTupleSampleParser):

Method get_image_metadata Returns the image metadata for the current sample.

Inherited from SampleParser (via ImageDetectionSampleParser, LabeledImageTupleSampleParser, LabeledImageSampleParser):

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
def __init__(self, image_field='image', objects_field='objects', **kwargs): (source)
def get_label(self): (source)

Returns the label for the current sample.

Returns
a fiftyone.core.labels.Detections instance
image_field = (source)

Undocumented

objects_field = (source)

Undocumented

def _parse_label(self, target, img=None): (source)