PortraitInstruction enum
Enumerates the instructions to be given to the user for effective portrait capture.
Constructors
- PortraitInstruction()
-
const
Values
- none → const PortraitInstruction
-
No instruction given.
- centerFace → const PortraitInstruction
-
Center your face in the frame.
- lookStraight → const PortraitInstruction
-
Look directly at the camera.
- lookAway → const PortraitInstruction
-
Look away.
- adjustLightning → const PortraitInstruction
-
Ensure your face is well-lit.
- lowContrast → const PortraitInstruction
-
The image contrast is too low.
- unbalancedColors → const PortraitInstruction
-
Image colors are not balanced correctly.
- imageOutOfFocus → const PortraitInstruction
-
Image is out of focus.
- moveCloser → const PortraitInstruction
-
Move closer to the camera.
- moveBack → const PortraitInstruction
-
Move back from the camera.
- moveDown → const PortraitInstruction
-
Move your face lower to align with the camera.
- moveUp → const PortraitInstruction
-
Move your face higher to align with the camera.
- moveRight → const PortraitInstruction
-
Move your face to the right.
- moveLeft → const PortraitInstruction
-
Move your face to the left.
- stayStill → const PortraitInstruction
-
Stay still in front of the camera.
- closeMouth → const PortraitInstruction
-
Close your mouth.
- openMouth → const PortraitInstruction
-
Open your mouth.
- smile → const PortraitInstruction
-
Smile.
- ensureNeutralExpression → const PortraitInstruction
-
Ensure a neutral expression.
- facePartiallyHidden → const PortraitInstruction
-
Remove any obstacle from your face.
- turnHeadLeft → const PortraitInstruction
-
Turn your head to the left.
- turnHeadRight → const PortraitInstruction
-
Turn your head to the right.
- raiseHead → const PortraitInstruction
-
Raise your head.
- lowerHead → const PortraitInstruction
-
Lower your head.
- rotateHead → const PortraitInstruction
-
Rotate your head in the specified direction.
- turnHeadSlightly → const PortraitInstruction
-
Turn your head slightly.
- removeHeadCoverings → const PortraitInstruction
-
Remove any head coverings.
- removeFaceMask → const PortraitInstruction
-
Remove your face mask.
- removeGlasses → const PortraitInstruction
-
Remove your glasses.
- removeSunglasses → const PortraitInstruction
-
Remove your sunglasses.
Properties
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
Constants
-
values
→ const List<
PortraitInstruction> -
A constant List of the values in this enum, in order of their declaration.
[none, centerFace, lookStraight, lookAway, adjustLightning, lowContrast, unbalancedColors, imageOutOfFocus, moveCloser, moveBack, moveDown, moveUp, moveRight, moveLeft, stayStill, closeMouth, openMout…