Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ObjectDetectionPredictionResult::Entity (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ObjectDetectionPredictionResult::Entity.

The entity info for annotations from object detection prediction result.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#label_id

def label_id() -> ::Integer
Returns
  • (::Integer) — Label id.

#label_id=

def label_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Label id.
Returns
  • (::Integer) — Label id.

#label_string

def label_string() -> ::String
Returns
  • (::String) — Human readable string of the label.

#label_string=

def label_string=(value) -> ::String
Parameter
  • value (::String) — Human readable string of the label.
Returns
  • (::String) — Human readable string of the label.