Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::DetectedPerson.
Detected Person contains the detected person and their associated ppes and their protecting information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#body_coverage_score
def body_coverage_score() -> ::Float
Returns
- (::Float) — Coverage score for body.
#body_coverage_score=
def body_coverage_score=(value) -> ::Float
Parameter
- value (::Float) — Coverage score for body.
Returns
- (::Float) — Coverage score for body.
#detected_person_identified_box
def detected_person_identified_box() -> ::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox
Returns
- (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox) — The info of detected person identified box.
#detected_person_identified_box=
def detected_person_identified_box=(value) -> ::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox
Parameter
- value (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox) — The info of detected person identified box.
Returns
- (::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox) — The info of detected person identified box.
#detected_ppe_identified_boxes
def detected_ppe_identified_boxes() -> ::Array<::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox>) — The info of detected person associated ppe identified boxes.
#detected_ppe_identified_boxes=
def detected_ppe_identified_boxes=(value) -> ::Array<::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox>) — The info of detected person associated ppe identified boxes.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox>) — The info of detected person associated ppe identified boxes.
#eyes_coverage_score
def eyes_coverage_score() -> ::Float
Returns
- (::Float) — Coverage score for eyes.
#eyes_coverage_score=
def eyes_coverage_score=(value) -> ::Float
Parameter
- value (::Float) — Coverage score for eyes.
Returns
- (::Float) — Coverage score for eyes.
#face_coverage_score
def face_coverage_score() -> ::Float
Returns
- (::Float) — Coverage score for each body part. Coverage score for face.
#face_coverage_score=
def face_coverage_score=(value) -> ::Float
Parameter
- value (::Float) — Coverage score for each body part. Coverage score for face.
Returns
- (::Float) — Coverage score for each body part. Coverage score for face.
#feet_coverage_score
def feet_coverage_score() -> ::Float
Returns
- (::Float) — Coverage score for feet.
#feet_coverage_score=
def feet_coverage_score=(value) -> ::Float
Parameter
- value (::Float) — Coverage score for feet.
Returns
- (::Float) — Coverage score for feet.
#hands_coverage_score
def hands_coverage_score() -> ::Float
Returns
- (::Float) — Coverage score for hands.
#hands_coverage_score=
def hands_coverage_score=(value) -> ::Float
Parameter
- value (::Float) — Coverage score for hands.
Returns
- (::Float) — Coverage score for hands.
#head_coverage_score
def head_coverage_score() -> ::Float
Returns
- (::Float) — Coverage score for head.
#head_coverage_score=
def head_coverage_score=(value) -> ::Float
Parameter
- value (::Float) — Coverage score for head.
Returns
- (::Float) — Coverage score for head.
#person_id
def person_id() -> ::Integer
Returns
- (::Integer) — The id of detected person.
#person_id=
def person_id=(value) -> ::Integer
Parameter
- value (::Integer) — The id of detected person.
Returns
- (::Integer) — The id of detected person.