Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
- Service Configuration
- Errors
- Attribute
- CelebrityRecognitionSortBy
- ContentModerationSortBy
- EmotionName
- FaceAttributes
- FaceSearchSortBy
- GenderType
- LabelDetectionSortBy
- LandmarkType
- OrientationCorrection
- PersonTrackingSortBy
- StreamProcessorStatus
- TextTypes
- VideoJobStatus
- AgeRange
- Beard
- BoundingBox
- Celebrity
- CelebrityDetail
- CelebrityRecognition
- CompareFacesMatch
- ComparedFace
- ComparedSourceImageFace
- ContentModerationDetection
- Emotion
- EyeOpen
- Eyeglasses
- Face
- FaceDetail
- FaceDetection
- FaceMatch
- FaceRecord
- FaceSearchSettings
- Gender
- Geometry
- Image
- ImageQuality
- KinesisDataStream
- KinesisVideoStream
- Label
- LabelDetection
- Landmark
- ModerationLabel
- MouthOpen
- Mustache
- NotificationChannel
- PersonDetail
- PersonDetection
- PersonMatch
- Point
- Pose
- S3Object
- Smile
- StreamProcessor
- StreamProcessorInput
- StreamProcessorOutput
- StreamProcessorSettings
- Sunglasses
- TextDetection
- Video
- VideoMetadata
- rekognition :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _VideoTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidImageFormatException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidS3ObjectException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ImageTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _IdempotentParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPaginationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- data Attribute
- data CelebrityRecognitionSortBy
- data ContentModerationSortBy
- data EmotionName
- data FaceAttributes
- data FaceSearchSortBy
- data GenderType
- data LabelDetectionSortBy
- data LandmarkType
- = EyeLeft
- | EyeRight
- | LeftEyeBrowLeft
- | LeftEyeBrowRight
- | LeftEyeBrowUp
- | LeftEyeDown
- | LeftEyeLeft
- | LeftEyeRight
- | LeftEyeUp
- | LeftPupil
- | MouthDown
- | MouthLeft
- | MouthRight
- | MouthUp
- | Nose
- | NoseLeft
- | NoseRight
- | RightEyeBrowLeft
- | RightEyeBrowRight
- | RightEyeBrowUp
- | RightEyeDown
- | RightEyeLeft
- | RightEyeRight
- | RightEyeUp
- | RightPupil
- data OrientationCorrection
- data PersonTrackingSortBy
- data StreamProcessorStatus
- data TextTypes
- data VideoJobStatus
- data AgeRange
- ageRange :: AgeRange
- arLow :: Lens' AgeRange (Maybe Natural)
- arHigh :: Lens' AgeRange (Maybe Natural)
- data Beard
- beard :: Beard
- bValue :: Lens' Beard (Maybe Bool)
- bConfidence :: Lens' Beard (Maybe Double)
- data BoundingBox
- boundingBox :: BoundingBox
- bbHeight :: Lens' BoundingBox (Maybe Double)
- bbLeft :: Lens' BoundingBox (Maybe Double)
- bbWidth :: Lens' BoundingBox (Maybe Double)
- bbTop :: Lens' BoundingBox (Maybe Double)
- data Celebrity
- celebrity :: Celebrity
- cMatchConfidence :: Lens' Celebrity (Maybe Double)
- cURLs :: Lens' Celebrity [Text]
- cName :: Lens' Celebrity (Maybe Text)
- cId :: Lens' Celebrity (Maybe Text)
- cFace :: Lens' Celebrity (Maybe ComparedFace)
- data CelebrityDetail
- celebrityDetail :: CelebrityDetail
- cdBoundingBox :: Lens' CelebrityDetail (Maybe BoundingBox)
- cdURLs :: Lens' CelebrityDetail [Text]
- cdConfidence :: Lens' CelebrityDetail (Maybe Double)
- cdName :: Lens' CelebrityDetail (Maybe Text)
- cdId :: Lens' CelebrityDetail (Maybe Text)
- cdFace :: Lens' CelebrityDetail (Maybe FaceDetail)
- data CelebrityRecognition
- celebrityRecognition :: CelebrityRecognition
- crCelebrity :: Lens' CelebrityRecognition (Maybe CelebrityDetail)
- crTimestamp :: Lens' CelebrityRecognition (Maybe Integer)
- data CompareFacesMatch
- compareFacesMatch :: CompareFacesMatch
- cfmSimilarity :: Lens' CompareFacesMatch (Maybe Double)
- cfmFace :: Lens' CompareFacesMatch (Maybe ComparedFace)
- data ComparedFace
- comparedFace :: ComparedFace
- cfBoundingBox :: Lens' ComparedFace (Maybe BoundingBox)
- cfPose :: Lens' ComparedFace (Maybe Pose)
- cfConfidence :: Lens' ComparedFace (Maybe Double)
- cfQuality :: Lens' ComparedFace (Maybe ImageQuality)
- cfLandmarks :: Lens' ComparedFace [Landmark]
- data ComparedSourceImageFace
- comparedSourceImageFace :: ComparedSourceImageFace
- csifBoundingBox :: Lens' ComparedSourceImageFace (Maybe BoundingBox)
- csifConfidence :: Lens' ComparedSourceImageFace (Maybe Double)
- data ContentModerationDetection
- contentModerationDetection :: ContentModerationDetection
- cmdModerationLabel :: Lens' ContentModerationDetection (Maybe ModerationLabel)
- cmdTimestamp :: Lens' ContentModerationDetection (Maybe Integer)
- data Emotion
- emotion :: Emotion
- eConfidence :: Lens' Emotion (Maybe Double)
- eType :: Lens' Emotion (Maybe EmotionName)
- data EyeOpen
- eyeOpen :: EyeOpen
- eoValue :: Lens' EyeOpen (Maybe Bool)
- eoConfidence :: Lens' EyeOpen (Maybe Double)
- data Eyeglasses
- eyeglasses :: Eyeglasses
- eyeValue :: Lens' Eyeglasses (Maybe Bool)
- eyeConfidence :: Lens' Eyeglasses (Maybe Double)
- data Face
- face :: Face
- fFaceId :: Lens' Face (Maybe Text)
- fBoundingBox :: Lens' Face (Maybe BoundingBox)
- fExternalImageId :: Lens' Face (Maybe Text)
- fConfidence :: Lens' Face (Maybe Double)
- fImageId :: Lens' Face (Maybe Text)
- data FaceDetail
- faceDetail :: FaceDetail
- fdAgeRange :: Lens' FaceDetail (Maybe AgeRange)
- fdSunglasses :: Lens' FaceDetail (Maybe Sunglasses)
- fdMouthOpen :: Lens' FaceDetail (Maybe MouthOpen)
- fdBoundingBox :: Lens' FaceDetail (Maybe BoundingBox)
- fdEmotions :: Lens' FaceDetail [Emotion]
- fdEyesOpen :: Lens' FaceDetail (Maybe EyeOpen)
- fdPose :: Lens' FaceDetail (Maybe Pose)
- fdConfidence :: Lens' FaceDetail (Maybe Double)
- fdGender :: Lens' FaceDetail (Maybe Gender)
- fdQuality :: Lens' FaceDetail (Maybe ImageQuality)
- fdEyeglasses :: Lens' FaceDetail (Maybe Eyeglasses)
- fdBeard :: Lens' FaceDetail (Maybe Beard)
- fdMustache :: Lens' FaceDetail (Maybe Mustache)
- fdSmile :: Lens' FaceDetail (Maybe Smile)
- fdLandmarks :: Lens' FaceDetail [Landmark]
- data FaceDetection
- faceDetection :: FaceDetection
- fdTimestamp :: Lens' FaceDetection (Maybe Integer)
- fdFace :: Lens' FaceDetection (Maybe FaceDetail)
- data FaceMatch
- faceMatch :: FaceMatch
- fmSimilarity :: Lens' FaceMatch (Maybe Double)
- fmFace :: Lens' FaceMatch (Maybe Face)
- data FaceRecord
- faceRecord :: FaceRecord
- frFaceDetail :: Lens' FaceRecord (Maybe FaceDetail)
- frFace :: Lens' FaceRecord (Maybe Face)
- data FaceSearchSettings
- faceSearchSettings :: FaceSearchSettings
- fssFaceMatchThreshold :: Lens' FaceSearchSettings (Maybe Double)
- fssCollectionId :: Lens' FaceSearchSettings (Maybe Text)
- data Gender
- gender :: Gender
- gValue :: Lens' Gender (Maybe GenderType)
- gConfidence :: Lens' Gender (Maybe Double)
- data Geometry
- geometry :: Geometry
- gBoundingBox :: Lens' Geometry (Maybe BoundingBox)
- gPolygon :: Lens' Geometry [Point]
- data Image
- image :: Image
- iS3Object :: Lens' Image (Maybe S3Object)
- iBytes :: Lens' Image (Maybe ByteString)
- data ImageQuality
- imageQuality :: ImageQuality
- iqSharpness :: Lens' ImageQuality (Maybe Double)
- iqBrightness :: Lens' ImageQuality (Maybe Double)
- data KinesisDataStream
- kinesisDataStream :: KinesisDataStream
- kdsARN :: Lens' KinesisDataStream (Maybe Text)
- data KinesisVideoStream
- kinesisVideoStream :: KinesisVideoStream
- kvsARN :: Lens' KinesisVideoStream (Maybe Text)
- data Label
- label :: Label
- lConfidence :: Lens' Label (Maybe Double)
- lName :: Lens' Label (Maybe Text)
- data LabelDetection
- labelDetection :: LabelDetection
- ldLabel :: Lens' LabelDetection (Maybe Label)
- ldTimestamp :: Lens' LabelDetection (Maybe Integer)
- data Landmark
- landmark :: Landmark
- lType :: Lens' Landmark (Maybe LandmarkType)
- lX :: Lens' Landmark (Maybe Double)
- lY :: Lens' Landmark (Maybe Double)
- data ModerationLabel
- moderationLabel :: ModerationLabel
- mlConfidence :: Lens' ModerationLabel (Maybe Double)
- mlName :: Lens' ModerationLabel (Maybe Text)
- mlParentName :: Lens' ModerationLabel (Maybe Text)
- data MouthOpen
- mouthOpen :: MouthOpen
- moValue :: Lens' MouthOpen (Maybe Bool)
- moConfidence :: Lens' MouthOpen (Maybe Double)
- data Mustache
- mustache :: Mustache
- mValue :: Lens' Mustache (Maybe Bool)
- mConfidence :: Lens' Mustache (Maybe Double)
- data NotificationChannel
- notificationChannel :: Text -> Text -> NotificationChannel
- ncSNSTopicARN :: Lens' NotificationChannel Text
- ncRoleARN :: Lens' NotificationChannel Text
- data PersonDetail
- personDetail :: PersonDetail
- pdBoundingBox :: Lens' PersonDetail (Maybe BoundingBox)
- pdIndex :: Lens' PersonDetail (Maybe Integer)
- pdFace :: Lens' PersonDetail (Maybe FaceDetail)
- data PersonDetection
- personDetection :: PersonDetection
- pdPerson :: Lens' PersonDetection (Maybe PersonDetail)
- pdTimestamp :: Lens' PersonDetection (Maybe Integer)
- data PersonMatch
- personMatch :: PersonMatch
- pmFaceMatches :: Lens' PersonMatch [FaceMatch]
- pmPerson :: Lens' PersonMatch (Maybe PersonDetail)
- pmTimestamp :: Lens' PersonMatch (Maybe Integer)
- data Point
- point :: Point
- pX :: Lens' Point (Maybe Double)
- pY :: Lens' Point (Maybe Double)
- data Pose
- pose :: Pose
- pYaw :: Lens' Pose (Maybe Double)
- pRoll :: Lens' Pose (Maybe Double)
- pPitch :: Lens' Pose (Maybe Double)
- data S3Object
- s3Object :: S3Object
- soBucket :: Lens' S3Object (Maybe Text)
- soName :: Lens' S3Object (Maybe Text)
- soVersion :: Lens' S3Object (Maybe Text)
- data Smile
- smile :: Smile
- smiValue :: Lens' Smile (Maybe Bool)
- smiConfidence :: Lens' Smile (Maybe Double)
- data StreamProcessor
- streamProcessor :: StreamProcessor
- spStatus :: Lens' StreamProcessor (Maybe StreamProcessorStatus)
- spName :: Lens' StreamProcessor (Maybe Text)
- data StreamProcessorInput
- streamProcessorInput :: StreamProcessorInput
- spiKinesisVideoStream :: Lens' StreamProcessorInput (Maybe KinesisVideoStream)
- data StreamProcessorOutput
- streamProcessorOutput :: StreamProcessorOutput
- spoKinesisDataStream :: Lens' StreamProcessorOutput (Maybe KinesisDataStream)
- data StreamProcessorSettings
- streamProcessorSettings :: StreamProcessorSettings
- spsFaceSearch :: Lens' StreamProcessorSettings (Maybe FaceSearchSettings)
- data Sunglasses
- sunglasses :: Sunglasses
- sValue :: Lens' Sunglasses (Maybe Bool)
- sConfidence :: Lens' Sunglasses (Maybe Double)
- data TextDetection
- textDetection :: TextDetection
- tdDetectedText :: Lens' TextDetection (Maybe Text)
- tdConfidence :: Lens' TextDetection (Maybe Double)
- tdGeometry :: Lens' TextDetection (Maybe Geometry)
- tdId :: Lens' TextDetection (Maybe Natural)
- tdType :: Lens' TextDetection (Maybe TextTypes)
- tdParentId :: Lens' TextDetection (Maybe Natural)
- data Video
- video :: Video
- vS3Object :: Lens' Video (Maybe S3Object)
- data VideoMetadata
- videoMetadata :: VideoMetadata
- vmFrameRate :: Lens' VideoMetadata (Maybe Double)
- vmFormat :: Lens' VideoMetadata (Maybe Text)
- vmCodec :: Lens' VideoMetadata (Maybe Text)
- vmFrameHeight :: Lens' VideoMetadata (Maybe Natural)
- vmDurationMillis :: Lens' VideoMetadata (Maybe Natural)
- vmFrameWidth :: Lens' VideoMetadata (Maybe Natural)
Service Configuration
rekognition :: Service Source #
API version 2016-06-27
of the Amazon Rekognition SDK configuration.
Errors
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You are not authorized to perform the action.
_VideoTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The file size or duration of the supplied media is too large. The maximum file size is 8GB. The maximum duration is 2 hours.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Input parameter violated a constraint. Validate your parameter before calling the API operation again.
_InvalidImageFormatException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The provided image format is not supported.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A collection with the specified ID already exists.
_InvalidS3ObjectException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Amazon Rekognition is unable to access the S3 object specified in the request.
_ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Rekognition.
_ImageTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The input image size exceeds the allowed limit. For more information, see limits
.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Amazon Rekognition is temporarily unable to process the request. Try your call again.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
Amazon Rekognition experienced a service issue. Try your call again.
_IdempotentParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A ClientRequestToken
input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The collection specified in the request cannot be found.
_InvalidPaginationTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Pagination token in the request is not valid.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An Amazon Rekognition service limit was exceeded. For example, if you start too many Rekognition Video jobs concurrently, calls to start operations (StartLabelDetection
, for example) will raise a LimitExceededException
exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Rekognition service limit.
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Attribute
CelebrityRecognitionSortBy
data CelebrityRecognitionSortBy Source #
ContentModerationSortBy
data ContentModerationSortBy Source #
EmotionName
data EmotionName Source #
FaceAttributes
data FaceAttributes Source #
FaceSearchSortBy
data FaceSearchSortBy Source #
GenderType
data GenderType Source #
LabelDetectionSortBy
data LabelDetectionSortBy Source #
LandmarkType
data LandmarkType Source #
OrientationCorrection
data OrientationCorrection Source #
PersonTrackingSortBy
data PersonTrackingSortBy Source #
StreamProcessorStatus
data StreamProcessorStatus Source #
TextTypes
VideoJobStatus
data VideoJobStatus Source #
AgeRange
Structure containing the estimated age range, in years, for a face.
Rekognition estimates an age-range for faces detected in the input image. Estimated age ranges can overlap; a face of a 5 year old may have an estimated range of 4-6 whilst the face of a 6 year old may have an estimated range of 4-8.
See: ageRange
smart constructor.
Beard
Indicates whether or not the face has a beard, and the confidence level in the determination.
See: beard
smart constructor.
Creates a value of Beard
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bValue
- Boolean value that indicates whether the face has beard or not.bConfidence
- Level of confidence in the determination.
bValue :: Lens' Beard (Maybe Bool) Source #
Boolean value that indicates whether the face has beard or not.
BoundingBox
data BoundingBox Source #
Identifies the bounding box around the object, face or text. The left
(x-coordinate) and top
(y-coordinate) are coordinates representing the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).
The top
and left
values returned are ratios of the overall image size. For example, if the input image is 700x200 pixels, and the top-left coordinate of the bounding box is 350x50 pixels, the API returns a left
value of 0.5 (350700) and a top
value of 0.25 (50200).
The width
and height
values represent the dimensions of the bounding box as a ratio of the overall image dimension. For example, if the input image is 700x200 pixels, and the bounding box width is 70 pixels, the width returned is 0.1.
See: boundingBox
smart constructor.
boundingBox :: BoundingBox Source #
Creates a value of BoundingBox
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bbHeight
- Height of the bounding box as a ratio of the overall image height.bbLeft
- Left coordinate of the bounding box as a ratio of overall image width.bbWidth
- Width of the bounding box as a ratio of the overall image width.bbTop
- Top coordinate of the bounding box as a ratio of overall image height.
bbHeight :: Lens' BoundingBox (Maybe Double) Source #
Height of the bounding box as a ratio of the overall image height.
bbLeft :: Lens' BoundingBox (Maybe Double) Source #
Left coordinate of the bounding box as a ratio of overall image width.
bbWidth :: Lens' BoundingBox (Maybe Double) Source #
Width of the bounding box as a ratio of the overall image width.
bbTop :: Lens' BoundingBox (Maybe Double) Source #
Top coordinate of the bounding box as a ratio of overall image height.
Celebrity
Provides information about a celebrity recognized by the operation.
See: celebrity
smart constructor.
celebrity :: Celebrity Source #
Creates a value of Celebrity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cMatchConfidence
- The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.cURLs
- An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.cName
- The name of the celebrity.cId
- A unique identifier for the celebrity.cFace
- Provides information about the celebrity's face, such as its location on the image.
cMatchConfidence :: Lens' Celebrity (Maybe Double) Source #
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
cURLs :: Lens' Celebrity [Text] Source #
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
cFace :: Lens' Celebrity (Maybe ComparedFace) Source #
Provides information about the celebrity's face, such as its location on the image.
CelebrityDetail
data CelebrityDetail Source #
Information about a recognized celebrity.
See: celebrityDetail
smart constructor.
celebrityDetail :: CelebrityDetail Source #
Creates a value of CelebrityDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdBoundingBox
- Bounding box around the body of a celebrity.cdURLs
- An array of URLs pointing to additional celebrity information.cdConfidence
- The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.cdName
- The name of the celebrity.cdId
- The unique identifier for the celebrity.cdFace
- Face details for the recognized celebrity.
cdBoundingBox :: Lens' CelebrityDetail (Maybe BoundingBox) Source #
Bounding box around the body of a celebrity.
cdURLs :: Lens' CelebrityDetail [Text] Source #
An array of URLs pointing to additional celebrity information.
cdConfidence :: Lens' CelebrityDetail (Maybe Double) Source #
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
cdFace :: Lens' CelebrityDetail (Maybe FaceDetail) Source #
Face details for the recognized celebrity.
CelebrityRecognition
data CelebrityRecognition Source #
Information about a detected celebrity and the time the celebrity was detected in a stored video. For more information, see .
See: celebrityRecognition
smart constructor.
celebrityRecognition :: CelebrityRecognition Source #
Creates a value of CelebrityRecognition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crCelebrity
- Information about a recognized celebrity.crTimestamp
- The time, in milliseconds from the start of the video, that the celebrity was recognized.
crCelebrity :: Lens' CelebrityRecognition (Maybe CelebrityDetail) Source #
Information about a recognized celebrity.
crTimestamp :: Lens' CelebrityRecognition (Maybe Integer) Source #
The time, in milliseconds from the start of the video, that the celebrity was recognized.
CompareFacesMatch
data CompareFacesMatch Source #
Provides information about a face in a target image that matches the source image face analysed by CompareFaces
. The Face
property contains the bounding box of the face in the target image. The Similarity
property is the confidence that the source image face matches the face in the bounding box.
See: compareFacesMatch
smart constructor.
compareFacesMatch :: CompareFacesMatch Source #
Creates a value of CompareFacesMatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfmSimilarity
- Level of confidence that the faces match.cfmFace
- Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
cfmSimilarity :: Lens' CompareFacesMatch (Maybe Double) Source #
Level of confidence that the faces match.
cfmFace :: Lens' CompareFacesMatch (Maybe ComparedFace) Source #
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
ComparedFace
data ComparedFace Source #
Provides face metadata for target image faces that are analysed by CompareFaces
and RecognizeCelebrities
.
See: comparedFace
smart constructor.
comparedFace :: ComparedFace Source #
Creates a value of ComparedFace
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfBoundingBox
- Bounding box of the face.cfPose
- Indicates the pose of the face as determined by its pitch, roll, and yaw.cfConfidence
- Level of confidence that what the bounding box contains is a face.cfQuality
- Identifies face image brightness and sharpness.cfLandmarks
- An array of facial landmarks.
cfBoundingBox :: Lens' ComparedFace (Maybe BoundingBox) Source #
Bounding box of the face.
cfPose :: Lens' ComparedFace (Maybe Pose) Source #
Indicates the pose of the face as determined by its pitch, roll, and yaw.
cfConfidence :: Lens' ComparedFace (Maybe Double) Source #
Level of confidence that what the bounding box contains is a face.
cfQuality :: Lens' ComparedFace (Maybe ImageQuality) Source #
Identifies face image brightness and sharpness.
cfLandmarks :: Lens' ComparedFace [Landmark] Source #
An array of facial landmarks.
ComparedSourceImageFace
data ComparedSourceImageFace Source #
Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.
See: comparedSourceImageFace
smart constructor.
comparedSourceImageFace :: ComparedSourceImageFace Source #
Creates a value of ComparedSourceImageFace
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csifBoundingBox
- Bounding box of the face.csifConfidence
- Confidence level that the selected bounding box contains a face.
csifBoundingBox :: Lens' ComparedSourceImageFace (Maybe BoundingBox) Source #
Bounding box of the face.
csifConfidence :: Lens' ComparedSourceImageFace (Maybe Double) Source #
Confidence level that the selected bounding box contains a face.
ContentModerationDetection
data ContentModerationDetection Source #
Information about a moderation label detection in a stored video.
See: contentModerationDetection
smart constructor.
contentModerationDetection :: ContentModerationDetection Source #
Creates a value of ContentModerationDetection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cmdModerationLabel
- The moderation label detected by in the stored video.cmdTimestamp
- Time, in milliseconds from the beginning of the video, that the moderation label was detected.
cmdModerationLabel :: Lens' ContentModerationDetection (Maybe ModerationLabel) Source #
The moderation label detected by in the stored video.
cmdTimestamp :: Lens' ContentModerationDetection (Maybe Integer) Source #
Time, in milliseconds from the beginning of the video, that the moderation label was detected.
Emotion
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
See: emotion
smart constructor.
Creates a value of Emotion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eConfidence
- Level of confidence in the determination.eType
- Type of emotion detected.
EyeOpen
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
See: eyeOpen
smart constructor.
Creates a value of EyeOpen
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eoValue
- Boolean value that indicates whether the eyes on the face are open.eoConfidence
- Level of confidence in the determination.
eoValue :: Lens' EyeOpen (Maybe Bool) Source #
Boolean value that indicates whether the eyes on the face are open.
Eyeglasses
data Eyeglasses Source #
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
See: eyeglasses
smart constructor.
eyeglasses :: Eyeglasses Source #
Creates a value of Eyeglasses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eyeValue
- Boolean value that indicates whether the face is wearing eye glasses or not.eyeConfidence
- Level of confidence in the determination.
eyeValue :: Lens' Eyeglasses (Maybe Bool) Source #
Boolean value that indicates whether the face is wearing eye glasses or not.
eyeConfidence :: Lens' Eyeglasses (Maybe Double) Source #
Level of confidence in the determination.
Face
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
See: face
smart constructor.
Creates a value of Face
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fFaceId
- Unique identifier that Amazon Rekognition assigns to the face.fBoundingBox
- Bounding box of the face.fExternalImageId
- Identifier that you assign to all the faces in the input image.fConfidence
- Confidence level that the bounding box contains a face (and not a different object such as a tree).fImageId
- Unique identifier that Amazon Rekognition assigns to the input image.
fFaceId :: Lens' Face (Maybe Text) Source #
Unique identifier that Amazon Rekognition assigns to the face.
fBoundingBox :: Lens' Face (Maybe BoundingBox) Source #
Bounding box of the face.
fExternalImageId :: Lens' Face (Maybe Text) Source #
Identifier that you assign to all the faces in the input image.
fConfidence :: Lens' Face (Maybe Double) Source #
Confidence level that the bounding box contains a face (and not a different object such as a tree).
fImageId :: Lens' Face (Maybe Text) Source #
Unique identifier that Amazon Rekognition assigns to the input image.
FaceDetail
data FaceDetail Source #
Structure containing attributes of the face that the algorithm detected.
A FaceDetail
object contains either the default facial attributes or all facial attributes. The default attributes are BoundingBox
, Confidence
, Landmarks
, Pose
, and Quality
.
is the only Rekognition Video stored video operation that can return a FaceDetail
object with all attributes. To specify which attributes to return, use the FaceAttributes
input parameter for . The following Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes
input parameter.
- GetCelebrityRecognition
- GetPersonTracking
- GetFaceSearch
The Rekognition Image and operations can return all facial attributes. To specify which attributes to return, use the Attributes
input parameter for DetectFaces
. For IndexFaces
, use the DetectAttributes
input parameter.
See: faceDetail
smart constructor.
faceDetail :: FaceDetail Source #
Creates a value of FaceDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdAgeRange
- The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.fdSunglasses
- Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.fdMouthOpen
- Indicates whether or not the mouth on the face is open, and the confidence level in the determination.fdBoundingBox
- Bounding box of the face. Default attribute.fdEmotions
- The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.fdEyesOpen
- Indicates whether or not the eyes on the face are open, and the confidence level in the determination.fdPose
- Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.fdConfidence
- Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.fdGender
- Gender of the face and the confidence level in the determination.fdQuality
- Identifies image brightness and sharpness. Default attribute.fdEyeglasses
- Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.fdBeard
- Indicates whether or not the face has a beard, and the confidence level in the determination.fdMustache
- Indicates whether or not the face has a mustache, and the confidence level in the determination.fdSmile
- Indicates whether or not the face is smiling, and the confidence level in the determination.fdLandmarks
- Indicates the location of landmarks on the face. Default attribute.
fdAgeRange :: Lens' FaceDetail (Maybe AgeRange) Source #
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
fdSunglasses :: Lens' FaceDetail (Maybe Sunglasses) Source #
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
fdMouthOpen :: Lens' FaceDetail (Maybe MouthOpen) Source #
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
fdBoundingBox :: Lens' FaceDetail (Maybe BoundingBox) Source #
Bounding box of the face. Default attribute.
fdEmotions :: Lens' FaceDetail [Emotion] Source #
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
fdEyesOpen :: Lens' FaceDetail (Maybe EyeOpen) Source #
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
fdPose :: Lens' FaceDetail (Maybe Pose) Source #
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
fdConfidence :: Lens' FaceDetail (Maybe Double) Source #
Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.
fdGender :: Lens' FaceDetail (Maybe Gender) Source #
Gender of the face and the confidence level in the determination.
fdQuality :: Lens' FaceDetail (Maybe ImageQuality) Source #
Identifies image brightness and sharpness. Default attribute.
fdEyeglasses :: Lens' FaceDetail (Maybe Eyeglasses) Source #
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
fdBeard :: Lens' FaceDetail (Maybe Beard) Source #
Indicates whether or not the face has a beard, and the confidence level in the determination.
fdMustache :: Lens' FaceDetail (Maybe Mustache) Source #
Indicates whether or not the face has a mustache, and the confidence level in the determination.
fdSmile :: Lens' FaceDetail (Maybe Smile) Source #
Indicates whether or not the face is smiling, and the confidence level in the determination.
fdLandmarks :: Lens' FaceDetail [Landmark] Source #
Indicates the location of landmarks on the face. Default attribute.
FaceDetection
data FaceDetection Source #
Information about a face detected in a video analysis request and the time the face was detected in the video.
See: faceDetection
smart constructor.
faceDetection :: FaceDetection Source #
Creates a value of FaceDetection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdTimestamp
- Time, in milliseconds from the start of the video, that the face was detected.fdFace
- The face properties for the detected face.
fdTimestamp :: Lens' FaceDetection (Maybe Integer) Source #
Time, in milliseconds from the start of the video, that the face was detected.
fdFace :: Lens' FaceDetection (Maybe FaceDetail) Source #
The face properties for the detected face.
FaceMatch
Provides face metadata. In addition, it also provides the confidence in the match of this face with the input face.
See: faceMatch
smart constructor.
faceMatch :: FaceMatch Source #
Creates a value of FaceMatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fmSimilarity
- Confidence in the match of this face with the input face.fmFace
- Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
fmSimilarity :: Lens' FaceMatch (Maybe Double) Source #
Confidence in the match of this face with the input face.
fmFace :: Lens' FaceMatch (Maybe Face) Source #
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
FaceRecord
data FaceRecord Source #
Object containing both the face metadata (stored in the back-end database) and facial attributes that are detected but aren't stored in the database.
See: faceRecord
smart constructor.
faceRecord :: FaceRecord Source #
Creates a value of FaceRecord
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
frFaceDetail
- Structure containing attributes of the face that the algorithm detected.frFace
- Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
frFaceDetail :: Lens' FaceRecord (Maybe FaceDetail) Source #
Structure containing attributes of the face that the algorithm detected.
frFace :: Lens' FaceRecord (Maybe Face) Source #
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
FaceSearchSettings
data FaceSearchSettings Source #
Input face recognition parameters for an Amazon Rekognition stream processor. FaceRecognitionSettings
is a request parameter for .
See: faceSearchSettings
smart constructor.
faceSearchSettings :: FaceSearchSettings Source #
Creates a value of FaceSearchSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fssFaceMatchThreshold
- Minimum face match confidence score that must be met to return a result for a recognized face. Default is 70. 0 is the lowest confidence. 100 is the highest confidence.fssCollectionId
- The ID of a collection that contains faces that you want to search for.
fssFaceMatchThreshold :: Lens' FaceSearchSettings (Maybe Double) Source #
Minimum face match confidence score that must be met to return a result for a recognized face. Default is 70. 0 is the lowest confidence. 100 is the highest confidence.
fssCollectionId :: Lens' FaceSearchSettings (Maybe Text) Source #
The ID of a collection that contains faces that you want to search for.
Gender
Gender of the face and the confidence level in the determination.
See: gender
smart constructor.
Creates a value of Gender
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gValue
- Gender of the face.gConfidence
- Level of confidence in the determination.
Geometry
Information about where text detected by is located on an image.
See: geometry
smart constructor.
Creates a value of Geometry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gBoundingBox
- An axis-aligned coarse representation of the detected text's location on the image.gPolygon
- Within the bounding box, a fine-grained polygon around the detected text.
gBoundingBox :: Lens' Geometry (Maybe BoundingBox) Source #
An axis-aligned coarse representation of the detected text's location on the image.
gPolygon :: Lens' Geometry [Point] Source #
Within the bounding box, a fine-grained polygon around the detected text.
Image
Provides the input image either as bytes or an S3 object.
You pass image bytes to a Rekognition API operation by using the Bytes
property. For example, you would use the Bytes
property to pass an image loaded from a local file system. Image bytes passed by using the Bytes
property must be base64-encoded. Your code may not need to encode image bytes if you are using an AWS SDK to call Rekognition API operations. For more information, see 'images-bytes' .
You pass images stored in an S3 bucket to a Rekognition API operation by using the S3Object
property. Images stored in an S3 bucket do not need to be base64-encoded.
The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.
If you use the Amazon CLI to call Amazon Rekognition operations, passing image bytes using the Bytes property is not supported. You must first upload the image to an Amazon S3 bucket and then call the operation using the S3Object property.
For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see 'manage-access-resource-policies' .
See: image
smart constructor.
Creates a value of Image
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iS3Object
- Identifies an S3 object as the image source.iBytes
- Blob of image bytes up to 5 MBs.-- Note: ThisLens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. ThisLens
accepts and returns only raw unencoded data.
iBytes :: Lens' Image (Maybe ByteString) Source #
Blob of image bytes up to 5 MBs.-- Note: This Lens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens
accepts and returns only raw unencoded data.
ImageQuality
data ImageQuality Source #
Identifies face image brightness and sharpness.
See: imageQuality
smart constructor.
imageQuality :: ImageQuality Source #
Creates a value of ImageQuality
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iqSharpness
- Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.iqBrightness
- Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
iqSharpness :: Lens' ImageQuality (Maybe Double) Source #
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
iqBrightness :: Lens' ImageQuality (Maybe Double) Source #
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
KinesisDataStream
data KinesisDataStream Source #
The Kinesis data stream Amazon Rekognition to which the analysis results of a Amazon Rekognition stream processor are streamed. For more information, see .
See: kinesisDataStream
smart constructor.
kinesisDataStream :: KinesisDataStream Source #
Creates a value of KinesisDataStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
kdsARN
- ARN of the output Amazon Kinesis Data Streams stream.
kdsARN :: Lens' KinesisDataStream (Maybe Text) Source #
ARN of the output Amazon Kinesis Data Streams stream.
KinesisVideoStream
data KinesisVideoStream Source #
Kinesis video stream stream that provides the source streaming video for a Rekognition Video stream processor. For more information, see .
See: kinesisVideoStream
smart constructor.
kinesisVideoStream :: KinesisVideoStream Source #
Creates a value of KinesisVideoStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
kvsARN
- ARN of the Kinesis video stream stream that streams the source video.
kvsARN :: Lens' KinesisVideoStream (Maybe Text) Source #
ARN of the Kinesis video stream stream that streams the source video.
Label
Structure containing details about the detected label, including name, and level of confidence.
See: label
smart constructor.
Creates a value of Label
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lConfidence
- Level of confidence.lName
- The name (label) of the object.
LabelDetection
data LabelDetection Source #
Information about a label detected in a video analysis request and the time the label was detected in the video.
See: labelDetection
smart constructor.
labelDetection :: LabelDetection Source #
Creates a value of LabelDetection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldLabel
- Details about the detected label.ldTimestamp
- Time, in milliseconds from the start of the video, that the label was detected.
ldTimestamp :: Lens' LabelDetection (Maybe Integer) Source #
Time, in milliseconds from the start of the video, that the label was detected.
Landmark
Indicates the location of the landmark on the face.
See: landmark
smart constructor.
Creates a value of Landmark
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lType
- Type of the landmark.lX
- x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the images is 700x200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.lY
- y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the images is 700x200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.
lX :: Lens' Landmark (Maybe Double) Source #
x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the images is 700x200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
lY :: Lens' Landmark (Maybe Double) Source #
y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the images is 700x200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.
ModerationLabel
data ModerationLabel Source #
Provides information about a single type of moderated content found in an image or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see moderation
.
See: moderationLabel
smart constructor.
moderationLabel :: ModerationLabel Source #
Creates a value of ModerationLabel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mlConfidence
- Specifies the confidence that Amazon Rekognition has that the label has been correctly identified. If you don't specify theMinConfidence
parameter in the call toDetectModerationLabels
, the operation returns labels with a confidence value greater than or equal to 50 percent.mlName
- The label name for the type of content detected in the image.mlParentName
- The name for the parent label. Labels at the top-level of the hierarchy have the parent label""
.
mlConfidence :: Lens' ModerationLabel (Maybe Double) Source #
Specifies the confidence that Amazon Rekognition has that the label has been correctly identified. If you don't specify the MinConfidence
parameter in the call to DetectModerationLabels
, the operation returns labels with a confidence value greater than or equal to 50 percent.
mlName :: Lens' ModerationLabel (Maybe Text) Source #
The label name for the type of content detected in the image.
mlParentName :: Lens' ModerationLabel (Maybe Text) Source #
The name for the parent label. Labels at the top-level of the hierarchy have the parent label ""
.
MouthOpen
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
See: mouthOpen
smart constructor.
mouthOpen :: MouthOpen Source #
Creates a value of MouthOpen
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
moValue
- Boolean value that indicates whether the mouth on the face is open or not.moConfidence
- Level of confidence in the determination.
moValue :: Lens' MouthOpen (Maybe Bool) Source #
Boolean value that indicates whether the mouth on the face is open or not.
Mustache
Indicates whether or not the face has a mustache, and the confidence level in the determination.
See: mustache
smart constructor.
Creates a value of Mustache
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mValue
- Boolean value that indicates whether the face has mustache or not.mConfidence
- Level of confidence in the determination.
mValue :: Lens' Mustache (Maybe Bool) Source #
Boolean value that indicates whether the face has mustache or not.
NotificationChannel
data NotificationChannel Source #
The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see 'api-video' .
See: notificationChannel
smart constructor.
Creates a value of NotificationChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncSNSTopicARN
- The Amazon SNS topic to which Amazon Rekognition to posts the completion status.ncRoleARN
- The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
ncSNSTopicARN :: Lens' NotificationChannel Text Source #
The Amazon SNS topic to which Amazon Rekognition to posts the completion status.
ncRoleARN :: Lens' NotificationChannel Text Source #
The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
PersonDetail
data PersonDetail Source #
Details about a person detected in a video analysis request.
See: personDetail
smart constructor.
personDetail :: PersonDetail Source #
Creates a value of PersonDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdBoundingBox
- Bounding box around the detected person.pdIndex
- Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.pdFace
- Face details for the detected person.
pdBoundingBox :: Lens' PersonDetail (Maybe BoundingBox) Source #
Bounding box around the detected person.
pdIndex :: Lens' PersonDetail (Maybe Integer) Source #
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
pdFace :: Lens' PersonDetail (Maybe FaceDetail) Source #
Face details for the detected person.
PersonDetection
data PersonDetection Source #
Details and tracking information for a single time a person is tracked in a video. Amazon Rekognition operations that track persons return an array of PersonDetection
objects with elements for each time a person is tracked in a video. For more information, see .
See: personDetection
smart constructor.
personDetection :: PersonDetection Source #
Creates a value of PersonDetection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdPerson
- Details about a person tracked in a video.pdTimestamp
- The time, in milliseconds from the start of the video, that the person was tracked.
pdPerson :: Lens' PersonDetection (Maybe PersonDetail) Source #
Details about a person tracked in a video.
pdTimestamp :: Lens' PersonDetection (Maybe Integer) Source #
The time, in milliseconds from the start of the video, that the person was tracked.
PersonMatch
data PersonMatch Source #
Information about a person whose face matches a face(s) in a Amazon Rekognition collection. Includes information about the faces in the Amazon Rekognition collection (, information about the person (PersonDetail
) and the timestamp for when the person was detected in a video. An array of PersonMatch
objects is returned by .
See: personMatch
smart constructor.
personMatch :: PersonMatch Source #
Creates a value of PersonMatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pmFaceMatches
- Information about the faces in the input collection that match the face of a person in the video.pmPerson
- Information about the matched person.pmTimestamp
- The time, in milliseconds from the beginning of the video, that the person was matched in the video.
pmFaceMatches :: Lens' PersonMatch [FaceMatch] Source #
Information about the faces in the input collection that match the face of a person in the video.
pmPerson :: Lens' PersonMatch (Maybe PersonDetail) Source #
Information about the matched person.
pmTimestamp :: Lens' PersonMatch (Maybe Integer) Source #
The time, in milliseconds from the beginning of the video, that the person was matched in the video.
Point
The X and Y coordinates of a point on an image. The X and Y values returned are ratios of the overall image size. For example, if the input image is 700x200 and the operation returns X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the image.
An array of Point
objects, Polygon
, is returned by . Polygon
represents a fine-grained polygon around detected text. For more information, see .
See: point
smart constructor.
Pose
Indicates the pose of the face as determined by its pitch, roll, and yaw.
See: pose
smart constructor.
Creates a value of Pose
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
S3Object
Provides the S3 bucket name and object name.
The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.
For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see 'manage-access-resource-policies' .
See: s3Object
smart constructor.
soVersion :: Lens' S3Object (Maybe Text) Source #
If the bucket is versioning enabled, you can specify the object version.
Smile
Indicates whether or not the face is smiling, and the confidence level in the determination.
See: smile
smart constructor.
Creates a value of Smile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smiValue
- Boolean value that indicates whether the face is smiling or not.smiConfidence
- Level of confidence in the determination.
smiValue :: Lens' Smile (Maybe Bool) Source #
Boolean value that indicates whether the face is smiling or not.
StreamProcessor
data StreamProcessor Source #
An object that recognizes faces in a streaming video. An Amazon Rekognition stream processor is created by a call to . The request parameters for CreateStreamProcessor
describe the Kinesis video stream source for the streaming video, face recognition parameters, and where to stream the analysis resullts.
See: streamProcessor
smart constructor.
streamProcessor :: StreamProcessor Source #
Creates a value of StreamProcessor
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spStatus :: Lens' StreamProcessor (Maybe StreamProcessorStatus) Source #
Current status of the Amazon Rekognition stream processor.
spName :: Lens' StreamProcessor (Maybe Text) Source #
Name of the Amazon Rekognition stream processor.
StreamProcessorInput
data StreamProcessorInput Source #
Information about the source streaming video.
See: streamProcessorInput
smart constructor.
streamProcessorInput :: StreamProcessorInput Source #
Creates a value of StreamProcessorInput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spiKinesisVideoStream
- The Kinesis video stream input stream for the source streaming video.
spiKinesisVideoStream :: Lens' StreamProcessorInput (Maybe KinesisVideoStream) Source #
The Kinesis video stream input stream for the source streaming video.
StreamProcessorOutput
data StreamProcessorOutput Source #
Information about the Amazon Kinesis Data Streams stream to which a Rekognition Video stream processor streams the results of a video analysis. For more information, see .
See: streamProcessorOutput
smart constructor.
streamProcessorOutput :: StreamProcessorOutput Source #
Creates a value of StreamProcessorOutput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spoKinesisDataStream
- The Amazon Kinesis Data Streams stream to which the Amazon Rekognition stream processor streams the analysis results.
spoKinesisDataStream :: Lens' StreamProcessorOutput (Maybe KinesisDataStream) Source #
The Amazon Kinesis Data Streams stream to which the Amazon Rekognition stream processor streams the analysis results.
StreamProcessorSettings
data StreamProcessorSettings Source #
Input parameters used to recognize faces in a streaming video analyzed by a Amazon Rekognition stream processor.
See: streamProcessorSettings
smart constructor.
streamProcessorSettings :: StreamProcessorSettings Source #
Creates a value of StreamProcessorSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spsFaceSearch
- Face search settings to use on a streaming video.
spsFaceSearch :: Lens' StreamProcessorSettings (Maybe FaceSearchSettings) Source #
Face search settings to use on a streaming video.
Sunglasses
data Sunglasses Source #
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
See: sunglasses
smart constructor.
sunglasses :: Sunglasses Source #
Creates a value of Sunglasses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sValue
- Boolean value that indicates whether the face is wearing sunglasses or not.sConfidence
- Level of confidence in the determination.
sValue :: Lens' Sunglasses (Maybe Bool) Source #
Boolean value that indicates whether the face is wearing sunglasses or not.
sConfidence :: Lens' Sunglasses (Maybe Double) Source #
Level of confidence in the determination.
TextDetection
data TextDetection Source #
Information about a word or line of text detected by .
The DetectedText
field contains the text that Amazon Rekognition detected in the image.
Every word and line has an identifier (Id
). Each word belongs to a line and has a parent identifier (ParentId
) that identifies the line of text in which the word appears. The word Id
is also an index for the word within a line of words.
For more information, see 'text-detection' .
See: textDetection
smart constructor.
textDetection :: TextDetection Source #
Creates a value of TextDetection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdDetectedText
- The word or line of text recognized by Amazon Rekognition.tdConfidence
- The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.tdGeometry
- The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information.tdId
- The identifier for the detected text. The identifier is only unique for a single call toDetectText
.tdType
- The type of text that was detected.tdParentId
- The Parent identifier for the detected text identified by the value ofID
. If the type of detected text isLINE
, the value ofParentId
isNull
.
tdDetectedText :: Lens' TextDetection (Maybe Text) Source #
The word or line of text recognized by Amazon Rekognition.
tdConfidence :: Lens' TextDetection (Maybe Double) Source #
The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.
tdGeometry :: Lens' TextDetection (Maybe Geometry) Source #
The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information.
tdId :: Lens' TextDetection (Maybe Natural) Source #
The identifier for the detected text. The identifier is only unique for a single call to DetectText
.
tdParentId :: Lens' TextDetection (Maybe Natural) Source #
The Parent identifier for the detected text identified by the value of ID
. If the type of detected text is LINE
, the value of ParentId
is Null
.
Video
Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as use Video
to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.
See: video
smart constructor.
vS3Object :: Lens' Video (Maybe S3Object) Source #
The Amazon S3 bucket name and file name for the video.
VideoMetadata
data VideoMetadata Source #
Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in every page of paginated responses from a Amazon Rekognition video operation.
See: videoMetadata
smart constructor.
videoMetadata :: VideoMetadata Source #
Creates a value of VideoMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vmFrameRate
- Number of frames per second in the video.vmFormat
- Format of the analyzed video. Possible values are MP4, MOV and AVI.vmCodec
- Type of compression used in the analyzed video.vmFrameHeight
- Vertical pixel dimension of the video.vmDurationMillis
- Length of the video in milliseconds.vmFrameWidth
- Horizontal pixel dimension of the video.
vmFrameRate :: Lens' VideoMetadata (Maybe Double) Source #
Number of frames per second in the video.
vmFormat :: Lens' VideoMetadata (Maybe Text) Source #
Format of the analyzed video. Possible values are MP4, MOV and AVI.
vmFrameHeight :: Lens' VideoMetadata (Maybe Natural) Source #
Vertical pixel dimension of the video.
vmDurationMillis :: Lens' VideoMetadata (Maybe Natural) Source #
Length of the video in milliseconds.
vmFrameWidth :: Lens' VideoMetadata (Maybe Natural) Source #
Horizontal pixel dimension of the video.