Celebrity class
Provides information about a celebrity recognized by the RecognizeCelebrities operation.
Constructors
-
Celebrity({ComparedFace? face, String? id, double? matchConfidence, String? name, List<
String> ? urls}) -
Celebrity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- face → ComparedFace?
-
Provides information about the celebrity's face, such as its location on the
image.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
A unique identifier for the celebrity.
final
- matchConfidence → double?
-
The confidence, in percentage, that Amazon Rekognition has that the
recognized face is the celebrity.
final
- name → String?
-
The name of the celebrity.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
urls
→ List<
String> ? -
An array of URLs pointing to additional information about the celebrity. If
there is no additional information about the celebrity, this list is empty.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited