Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox.
PPEIdentified box contains the location and the entity info of the PPE.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#box_id
def box_id() -> ::Integer Returns 
 - (::Integer) — An unique id for this box.
 
#box_id=
def box_id=(value) -> ::Integer Parameter 
 - value (::Integer) — An unique id for this box.
 
 Returns 
 - (::Integer) — An unique id for this box.
 
#confidence_score
def confidence_score() -> ::Float Returns 
 - (::Float) — Confidence score associated with this box.
 
#confidence_score=
def confidence_score=(value) -> ::Float Parameter 
 - value (::Float) — Confidence score associated with this box.
 
 Returns 
 - (::Float) — Confidence score associated with this box.
 
#normalized_bounding_box
def normalized_bounding_box() -> ::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox Returns 
 - (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox) — Bounding Box in the normalized coordinates.
 
#normalized_bounding_box=
def normalized_bounding_box=(value) -> ::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox Parameter 
 - value (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox) — Bounding Box in the normalized coordinates.
 
 Returns 
 - (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox) — Bounding Box in the normalized coordinates.
 
#ppe_entity
def ppe_entity() -> ::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity Returns 
 - (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity) — PPE entity info.
 
#ppe_entity=
def ppe_entity=(value) -> ::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity Parameter 
 - value (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity) — PPE entity info.
 
 Returns 
 - (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEEntity) — PPE entity info.