Send feedback
Vision AI V1 API - Class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity (v1.1.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
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.
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#ppe_entity_id
def ppe_entity_id () - > :: Integer
#ppe_entity_id=
def ppe_entity_id= ( value ) - > :: Integer
Parameter
value (::Integer) — Entity id.
#ppe_label_id
def ppe_label_id () - > :: Integer
#ppe_label_id=
def ppe_label_id= ( value ) - > :: Integer
Parameter
value (::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).
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-09 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-PersonalProtectiveEquipmentDetectionOutput-PPEEntity)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-PersonalProtectiveEquipmentDetectionOutput-PPEEntity)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-PersonalProtectiveEquipmentDetectionOutput-PPEEntity)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-PersonalProtectiveEquipmentDetectionOutput-PPEEntity)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-PersonalProtectiveEquipmentDetectionOutput-PPEEntity)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-PersonalProtectiveEquipmentDetectionOutput-PPEEntity)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-PersonalProtectiveEquipmentDetectionOutput-PPEEntity) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity.\n\nThe entity info for annotations from PPE detection prediction result. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #ppe_entity_id\n\n def ppe_entity_id() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Entity id.\n\n### #ppe_entity_id=\n\n def ppe_entity_id=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Entity id. \n**Returns**\n\n- (::Integer) --- Entity id.\n\n### #ppe_label_id\n\n def ppe_label_id() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Label id.\n\n### #ppe_label_id=\n\n def ppe_label_id=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Label id. \n**Returns**\n\n- (::Integer) --- Label id.\n\n### #ppe_label_string\n\n def ppe_label_string() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Human readable string of the label (Examples: helmet, glove, mask).\n\n### #ppe_label_string=\n\n def ppe_label_string=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Human readable string of the label (Examples: helmet, glove, mask). \n**Returns**\n\n- (::String) --- Human readable string of the label (Examples: helmet, glove, mask).\n\n### #ppe_supercategory_label_string\n\n def ppe_supercategory_label_string() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).\n\n### #ppe_supercategory_label_string=\n\n def ppe_supercategory_label_string=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover). \n**Returns**\n\n- (::String) --- Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover)."]]