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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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).



6014
6015
6016
6017
6018
6019
6020
6021
# File 'lib/aws-sdk-rekognition/types.rb', line 6014

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:



6014
6015
6016
6017
6018
6019
6020
6021
# File 'lib/aws-sdk-rekognition/types.rb', line 6014

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)


6014
6015
6016
6017
6018
6019
6020
6021
# File 'lib/aws-sdk-rekognition/types.rb', line 6014

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)


6014
6015
6016
6017
6018
6019
6020
6021
# File 'lib/aws-sdk-rekognition/types.rb', line 6014

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