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



6001
6002
6003
6004
6005
6006
6007
6008
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6001

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:



6001
6002
6003
6004
6005
6006
6007
6008
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6001

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)


6001
6002
6003
6004
6005
6006
6007
6008
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6001

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)


6001
6002
6003
6004
6005
6006
6007
6008
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6001

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