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 Celebrity = Celebrity' {
- matchConfidence :: Maybe Double
- urls :: Maybe [Text]
- knownGender :: Maybe KnownGender
- name :: Maybe Text
- id :: Maybe Text
- face :: Maybe ComparedFace
- newCelebrity :: Celebrity
- celebrity_matchConfidence :: Lens' Celebrity (Maybe Double)
- celebrity_urls :: Lens' Celebrity (Maybe [Text])
- celebrity_knownGender :: Lens' Celebrity (Maybe KnownGender)
- celebrity_name :: Lens' Celebrity (Maybe Text)
- celebrity_id :: Lens' Celebrity (Maybe Text)
- celebrity_face :: Lens' Celebrity (Maybe ComparedFace)
Documentation
Provides information about a celebrity recognized by the RecognizeCelebrities operation.
See: newCelebrity
smart constructor.
Celebrity' | |
|
Instances
newCelebrity :: Celebrity Source #
Create a value of Celebrity
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:matchConfidence:Celebrity'
, celebrity_matchConfidence
- The confidence, in percentage, that Amazon Rekognition has that the
recognized face is the celebrity.
$sel:urls:Celebrity'
, celebrity_urls
- An array of URLs pointing to additional information about the celebrity.
If there is no additional information about the celebrity, this list is
empty.
$sel:knownGender:Celebrity'
, celebrity_knownGender
- Undocumented member.
$sel:name:Celebrity'
, celebrity_name
- The name of the celebrity.
$sel:id:Celebrity'
, celebrity_id
- A unique identifier for the celebrity.
$sel:face:Celebrity'
, celebrity_face
- Provides information about the celebrity's face, such as its location
on the image.
celebrity_matchConfidence :: Lens' Celebrity (Maybe Double) Source #
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
celebrity_urls :: Lens' Celebrity (Maybe [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.
celebrity_knownGender :: Lens' Celebrity (Maybe KnownGender) Source #
Undocumented member.
celebrity_face :: Lens' Celebrity (Maybe ComparedFace) Source #
Provides information about the celebrity's face, such as its location on the image.