Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ProtectiveEquipmentSummarizationAttributes = ProtectiveEquipmentSummarizationAttributes' {}
- newProtectiveEquipmentSummarizationAttributes :: Double -> ProtectiveEquipmentSummarizationAttributes
- protectiveEquipmentSummarizationAttributes_minConfidence :: Lens' ProtectiveEquipmentSummarizationAttributes Double
- protectiveEquipmentSummarizationAttributes_requiredEquipmentTypes :: Lens' ProtectiveEquipmentSummarizationAttributes [ProtectiveEquipmentType]
Documentation
data ProtectiveEquipmentSummarizationAttributes Source #
Specifies summary attributes to return from a call to
DetectProtectiveEquipment. You can specify which types of PPE to
summarize. You can also specify a minimum confidence value for
detections. Summary information is returned in the Summary
(ProtectiveEquipmentSummary) field of the response from
DetectProtectiveEquipment
. The summary includes which persons in an
image were detected wearing the requested types of person protective
equipment (PPE), which persons were detected as not wearing PPE, and the
persons in which a determination could not be made. For more
information, see ProtectiveEquipmentSummary.
See: newProtectiveEquipmentSummarizationAttributes
smart constructor.
ProtectiveEquipmentSummarizationAttributes' | |
|
Instances
newProtectiveEquipmentSummarizationAttributes Source #
:: Double |
|
-> ProtectiveEquipmentSummarizationAttributes |
Create a value of ProtectiveEquipmentSummarizationAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:minConfidence:ProtectiveEquipmentSummarizationAttributes'
, protectiveEquipmentSummarizationAttributes_minConfidence
- The minimum confidence level for which you want summary information. The
confidence level applies to person detection, body part detection,
equipment detection, and body part coverage. Amazon Rekognition doesn't
return summary information with a confidence than this specified value.
There isn't a default value.
Specify a MinConfidence
value that is between 50-100% as
DetectProtectiveEquipment
returns predictions only where the detection
confidence is between 50% - 100%. If you specify a value that is less
than 50%, the results are the same specifying a value of 50%.
$sel:requiredEquipmentTypes:ProtectiveEquipmentSummarizationAttributes'
, protectiveEquipmentSummarizationAttributes_requiredEquipmentTypes
- An array of personal protective equipment types for which you want
summary information. If a person is detected wearing a required
requipment type, the person's ID is added to the
PersonsWithRequiredEquipment
array field returned in
ProtectiveEquipmentSummary by DetectProtectiveEquipment
.
protectiveEquipmentSummarizationAttributes_minConfidence :: Lens' ProtectiveEquipmentSummarizationAttributes Double Source #
The minimum confidence level for which you want summary information. The confidence level applies to person detection, body part detection, equipment detection, and body part coverage. Amazon Rekognition doesn't return summary information with a confidence than this specified value. There isn't a default value.
Specify a MinConfidence
value that is between 50-100% as
DetectProtectiveEquipment
returns predictions only where the detection
confidence is between 50% - 100%. If you specify a value that is less
than 50%, the results are the same specifying a value of 50%.
protectiveEquipmentSummarizationAttributes_requiredEquipmentTypes :: Lens' ProtectiveEquipmentSummarizationAttributes [ProtectiveEquipmentType] Source #
An array of personal protective equipment types for which you want
summary information. If a person is detected wearing a required
requipment type, the person's ID is added to the
PersonsWithRequiredEquipment
array field returned in
ProtectiveEquipmentSummary by DetectProtectiveEquipment
.