/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include You
* can use FaceOccluded
should return "true" with a high confidence score
* if a detected face’s eyes, nose, and mouth are partially captured or if they are
* covered by masks, dark sunglasses, cell phones, hands, or other objects.
* FaceOccluded
should return "false" with a high confidence score if
* common occurrences that do not impact face verification are detected, such as
* eye glasses, lightly tinted sunglasses, strands of hair, and others. FaceOccluded
to determine if an obstruction on a face
* negatively impacts using the image for face matching.See Also:
* AWS
* API Reference
True if a detected face’s eyes, nose, and mouth are partially captured or if * they are covered by masks, dark sunglasses, cell phones, hands, or other * objects. False if common occurrences that do not impact face verification are * detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and * others.
*/ inline bool GetValue() const{ return m_value; } /** *True if a detected face’s eyes, nose, and mouth are partially captured or if * they are covered by masks, dark sunglasses, cell phones, hands, or other * objects. False if common occurrences that do not impact face verification are * detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and * others.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *True if a detected face’s eyes, nose, and mouth are partially captured or if * they are covered by masks, dark sunglasses, cell phones, hands, or other * objects. False if common occurrences that do not impact face verification are * detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and * others.
*/ inline void SetValue(bool value) { m_valueHasBeenSet = true; m_value = value; } /** *True if a detected face’s eyes, nose, and mouth are partially captured or if * they are covered by masks, dark sunglasses, cell phones, hands, or other * objects. False if common occurrences that do not impact face verification are * detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and * others.
*/ inline FaceOccluded& WithValue(bool value) { SetValue(value); return *this;} /** *The confidence that the service has detected the presence of a face * occlusion.
*/ inline double GetConfidence() const{ return m_confidence; } /** *The confidence that the service has detected the presence of a face * occlusion.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The confidence that the service has detected the presence of a face * occlusion.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The confidence that the service has detected the presence of a face * occlusion.
*/ inline FaceOccluded& WithConfidence(double value) { SetConfidence(value); return *this;} private: bool m_value; bool m_valueHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws