PhotographicAttributes class
Represents the photographic attributes of a portrait image.
Constructors
-
PhotographicAttributes(Pointer<
id3FacePhotographicAttributes> _handle) - Initializes a new instance of the PhotographicAttributes class from its members.
- PhotographicAttributes.create()
- Create a new instance of the PhotographicAttributes.
- PhotographicAttributes.createFromStruct(id3FacePhotographicAttributes value)
- Create a new instance of the PhotographicAttributes from the native struct
Properties
- equalBrightness ↔ int
-
Value, from 0 to 100, indicating if one side of the face is ligther than the other side.
0 means that brightness is perfectly equal on both sides of the face.
Hint: The recommended value is over 90.
getter/setter pair
- faceDynamicRange ↔ int
-
Value, from 0 to 255, indicating the dynamic range of the image in the face region.
Hint: The recommended threshold is 110.
getter/setter pair
- flashReflection ↔ int
-
Value, from 0 to 100, indicating if a flash reflection is present on the face.
100 means that there is no flash reflection.
Hint: The recommended threshold is 70.
getter/setter pair
-
handle
→ Pointer<
id3FacePhotographicAttributes> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- naturalSkinColor ↔ int
-
Value, from 0 to 100, indicating if the skin looks natural.
0 means that the face does not have a natural skin color at all.
Hint: The recommended threshold is over 5.
getter/setter pair
- overExposure ↔ int
-
Value, from 0 to 100, indicating the ratio of face pixels that are over-exposed.
0 means that the face is not over-exposed at all.
Hint: The recommended value is under 50.
getter/setter pair
- pixelation ↔ int
-
Value, from 0 to 100, indicating if the image is pixelized.
0 means that there is no pixelation at all.
Hint: The recommended value is under 50.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Value, from 0 to 100, indicating if the image sharpness is sufficient.
0 means that the image is not sharp at all.
Hint: The recommended value is over 40.
getter/setter pair
- struct → id3FacePhotographicAttributes
-
no setter
- underExposure ↔ int
-
Value, from 0 to 100, indicating the ratio of face pixels that are under-exposed.
0 means that the face is not under-exposed at all.
Hint: The recommended value is under 50.
getter/setter pair
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited