Class Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::ImageObjectDetectionPredictionResult (v0.1.0)

Prediction output format for Image Object Detection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bboxes

def bboxes() -> ::Array<::Google::Protobuf::ListValue>
Returns
  • (::Array<::Google::Protobuf::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.

#bboxes=

def bboxes=(value) -> ::Array<::Google::Protobuf::ListValue>
Parameter
  • value (::Array<::Google::Protobuf::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.
Returns
  • (::Array<::Google::Protobuf::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.

#confidences

def confidences() -> ::Array<::Float>
Returns
  • (::Array<::Float>) — The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.

#confidences=

def confidences=(value) -> ::Array<::Float>
Parameter
  • value (::Array<::Float>) — The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
Returns
  • (::Array<::Float>) — The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.

#display_names

def display_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — The display names of the AnnotationSpecs that had been identified, order matches the IDs.

#display_names=

def display_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The display names of the AnnotationSpecs that had been identified, order matches the IDs.
Returns
  • (::Array<::String>) — The display names of the AnnotationSpecs that had been identified, order matches the IDs.

#ids

def ids() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.

#ids=

def ids=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
Returns
  • (::Array<::Integer>) — The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.