Vision AI V1 API - Class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity (v0.1.0)

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

The entity info for annotations from PPE detection prediction result.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ppe_entity_id

def ppe_entity_id() -> ::Integer
Returns
  • (::Integer) — Entity id.

#ppe_entity_id=

def ppe_entity_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Entity id.
Returns
  • (::Integer) — Entity id.

#ppe_label_id

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

#ppe_label_id=

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

#ppe_label_string

def ppe_label_string() -> ::String
Returns
  • (::String) — Human readable string of the label (Examples: helmet, glove, mask).

#ppe_label_string=

def ppe_label_string=(value) -> ::String
Parameter
  • value (::String) — Human readable string of the label (Examples: helmet, glove, mask).
Returns
  • (::String) — Human readable string of the label (Examples: helmet, glove, mask).

#ppe_supercategory_label_string

def ppe_supercategory_label_string() -> ::String
Returns
  • (::String) — Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).

#ppe_supercategory_label_string=

def ppe_supercategory_label_string=(value) -> ::String
Parameter
  • value (::String) — Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).
Returns
  • (::String) — Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).