Class: Google::Cloud::Vision::V1p3beta1::LocalizedObjectAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p3beta1::LocalizedObjectAnnotation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb
Overview
Set of detected objects with bounding boxes.
Instance Attribute Summary collapse
-
#bounding_poly ⇒ ::Google::Cloud::Vision::V1p3beta1::BoundingPoly
Image region to which this object belongs.
-
#language_code ⇒ ::String
The BCP-47 language code, such as "en-US" or "sr-Latn".
-
#mid ⇒ ::String
Object ID that should align with EntityAnnotation mid.
-
#name ⇒ ::String
Object name, expressed in its
language_code
language. -
#score ⇒ ::Float
Score of the result.
Instance Attribute Details
#bounding_poly ⇒ ::Google::Cloud::Vision::V1p3beta1::BoundingPoly
Returns Image region to which this object belongs. This must be populated.
423 424 425 426 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 423 class LocalizedObjectAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String
Returns The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
423 424 425 426 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 423 class LocalizedObjectAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mid ⇒ ::String
Returns Object ID that should align with EntityAnnotation mid.
423 424 425 426 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 423 class LocalizedObjectAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Object name, expressed in its language_code
language.
423 424 425 426 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 423 class LocalizedObjectAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#score ⇒ ::Float
Returns Score of the result. Range [0, 1].
423 424 425 426 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 423 class LocalizedObjectAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |