Class: Google::Cloud::VisionAI::V1::ObjectDetectionPredictionResult::IdentifiedBox

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/annotations.rb

Overview

Identified box contains location and the entity of the object.

Defined Under Namespace

Classes: NormalizedBoundingBox

Instance Attribute Summary collapse

Instance Attribute Details

#box_id::Integer

Returns An unique id for this box.

Returns:

  • (::Integer)

    An unique id for this box.



190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 190

class IdentifiedBox
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Bounding Box in the normalized coordinates.
  # @!attribute [rw] xmin
  #   @return [::Float]
  #     Min in x coordinate.
  # @!attribute [rw] ymin
  #   @return [::Float]
  #     Min in y coordinate.
  # @!attribute [rw] width
  #   @return [::Float]
  #     Width of the bounding box.
  # @!attribute [rw] height
  #   @return [::Float]
  #     Height of the bounding box.
  class NormalizedBoundingBox
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#confidence_score::Float

Returns Confidence score associated with this box.

Returns:

  • (::Float)

    Confidence score associated with this box.



190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 190

class IdentifiedBox
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Bounding Box in the normalized coordinates.
  # @!attribute [rw] xmin
  #   @return [::Float]
  #     Min in x coordinate.
  # @!attribute [rw] ymin
  #   @return [::Float]
  #     Min in y coordinate.
  # @!attribute [rw] width
  #   @return [::Float]
  #     Width of the bounding box.
  # @!attribute [rw] height
  #   @return [::Float]
  #     Height of the bounding box.
  class NormalizedBoundingBox
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#entity::Google::Cloud::VisionAI::V1::ObjectDetectionPredictionResult::Entity

Returns Entity of this box.



190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 190

class IdentifiedBox
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Bounding Box in the normalized coordinates.
  # @!attribute [rw] xmin
  #   @return [::Float]
  #     Min in x coordinate.
  # @!attribute [rw] ymin
  #   @return [::Float]
  #     Min in y coordinate.
  # @!attribute [rw] width
  #   @return [::Float]
  #     Width of the bounding box.
  # @!attribute [rw] height
  #   @return [::Float]
  #     Height of the bounding box.
  class NormalizedBoundingBox
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#normalized_bounding_box::Google::Cloud::VisionAI::V1::ObjectDetectionPredictionResult::IdentifiedBox::NormalizedBoundingBox

Returns Bounding Box in the normalized coordinates.



190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 190

class IdentifiedBox
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Bounding Box in the normalized coordinates.
  # @!attribute [rw] xmin
  #   @return [::Float]
  #     Min in x coordinate.
  # @!attribute [rw] ymin
  #   @return [::Float]
  #     Min in y coordinate.
  # @!attribute [rw] width
  #   @return [::Float]
  #     Width of the bounding box.
  # @!attribute [rw] height
  #   @return [::Float]
  #     Height of the bounding box.
  class NormalizedBoundingBox
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end