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).



4661
4662
4663
4664
4665
4666
4667
4668
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4661

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:



4661
4662
4663
4664
4665
4666
4667
4668
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4661

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)


4661
4662
4663
4664
4665
4666
4667
4668
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4661

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)


4661
4662
4663
4664
4665
4666
4667
4668
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4661

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