Struct aws_sdk_rekognition::model::protective_equipment_summarization_attributes::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ProtectiveEquipmentSummarizationAttributes.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn min_confidence(self, input: f32) -> Self
pub fn min_confidence(self, input: f32) -> Self
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%.
sourcepub fn set_min_confidence(self, input: Option<f32>) -> Self
pub fn set_min_confidence(self, input: Option<f32>) -> Self
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%.
sourcepub fn required_equipment_types(self, input: ProtectiveEquipmentType) -> Self
pub fn required_equipment_types(self, input: ProtectiveEquipmentType) -> Self
Appends an item to required_equipment_types.
To override the contents of this collection use set_required_equipment_types.
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.
sourcepub fn set_required_equipment_types(
self,
input: Option<Vec<ProtectiveEquipmentType>>
) -> Self
pub fn set_required_equipment_types(
self,
input: Option<Vec<ProtectiveEquipmentType>>
) -> Self
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.
sourcepub fn build(self) -> ProtectiveEquipmentSummarizationAttributes
pub fn build(self) -> ProtectiveEquipmentSummarizationAttributes
Consumes the builder and constructs a ProtectiveEquipmentSummarizationAttributes.