Class: Aws::Rekognition::Types::ProtectiveEquipmentPerson

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Overview

A person detected by a call to DetectProtectiveEquipment. The API returns all persons detected in the input image in an array of ProtectiveEquipmentPerson objects.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#body_partsArray<Types::ProtectiveEquipmentBodyPart>

An array of body parts detected on a person's body (including body parts without PPE).



4639
4640
4641
4642
4643
4644
4645
4646
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4639

class ProtectiveEquipmentPerson < Struct.new(
  :body_parts,
  :bounding_box,
  :confidence,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#bounding_boxTypes::BoundingBox

A bounding box around the detected person.

Returns:



4639
4640
4641
4642
4643
4644
4645
4646
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4639

class ProtectiveEquipmentPerson < Struct.new(
  :body_parts,
  :bounding_box,
  :confidence,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#confidenceFloat

The confidence that Amazon Rekognition has that the bounding box contains a person.

Returns:

  • (Float)


4639
4640
4641
4642
4643
4644
4645
4646
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4639

class ProtectiveEquipmentPerson < Struct.new(
  :body_parts,
  :bounding_box,
  :confidence,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#idInteger

The identifier for the detected person. The identifier is only unique for a single call to DetectProtectiveEquipment.

Returns:

  • (Integer)


4639
4640
4641
4642
4643
4644
4645
4646
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4639

class ProtectiveEquipmentPerson < Struct.new(
  :body_parts,
  :bounding_box,
  :confidence,
  :id)
  SENSITIVE = []
  include Aws::Structure
end