Class ImageObjectDetectionPredictionResult (1.12.1)

ImageObjectDetectionPredictionResult(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction output format for Image Object Detection.

Attributes

NameDescription
ids Sequence[int]
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
display_names Sequence[str]
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
confidences Sequence[float]
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
bboxes Sequence[google.protobuf.struct_pb2.ListValue]
Bounding boxes, i.e. the rectangles over the image, that pinpoint the found AnnotationSpecs. Given in order that matches the IDs. Each bounding box is an array of 4 numbers ``xMin``, ``xMax``, ``yMin``, and ``yMax``, which represent the extremal coordinates of the box. They are relative to the image size, and the point 0,0 is in the top left of the image.

Inheritance

builtins.object > proto.message.Message > ImageObjectDetectionPredictionResult