Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::ImageObjectDetectionPredictionResult
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::ImageObjectDetectionPredictionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb
Overview
Prediction output format for Image Object Detection.
Instance Attribute Summary collapse
-
#bboxes ⇒ ::Array<::Google::Protobuf::ListValue>
Bounding boxes, i.e.
-
#confidences ⇒ ::Array<::Float>
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence.
-
#display_names ⇒ ::Array<::String>
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
-
#ids ⇒ ::Array<::Integer>
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
Instance Attribute Details
#bboxes ⇒ ::Array<::Google::Protobuf::ListValue>
Returns 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.
48 49 50 51 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb', line 48 class ImageObjectDetectionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#confidences ⇒ ::Array<::Float>
Returns The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
48 49 50 51 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb', line 48 class ImageObjectDetectionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_names ⇒ ::Array<::String>
Returns The display names of the AnnotationSpecs that had been identified, order matches the IDs.
48 49 50 51 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb', line 48 class ImageObjectDetectionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ids ⇒ ::Array<::Integer>
Returns The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
48 49 50 51 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb', line 48 class ImageObjectDetectionPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |