Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PortraitInstruction Enumeration

Namespace: id3.Face

## Definition

Enumerates the instructions to be given to the user for effective portrait capture.
Python

    class PortraitInstruction

Dart

    enum PortraitInstruction

C#

    public enum PortraitInstruction

Java

    public enum PortraitInstruction

Swift

    public enum PortraitInstruction

C

    typedef enum id3FacePortraitInstruction

## Fields

Name | Value | Description
--- | --- | ---
`none` | 0 | No instruction given.
`centerFace` | 1 | Center your face in the frame.
`lookStraight` | 2 | Look directly at the camera.
`lookAway` | 3 | Look away.
`adjustLightning` | 4 | Ensure your face is well-lit.
`lowContrast` | 5 | The image contrast is too low.
`unbalancedColors` | 6 | Image colors are not balanced correctly.
`imageOutOfFocus` | 7 | Image is out of focus.
`moveCloser` | 8 | Move closer to the camera.
`moveBack` | 9 | Move back from the camera.
`moveDown` | 10 | Move your face lower to align with the camera.
`moveUp` | 11 | Move your face higher to align with the camera.
`moveRight` | 12 | Move your face to the right.
`moveLeft` | 13 | Move your face to the left.
`stayStill` | 14 | Stay still in front of the camera.
`closeMouth` | 15 | Close your mouth.
`openMouth` | 16 | Open your mouth.
`smile` | 17 | Smile.
`ensureNeutralExpression` | 18 | Ensure a neutral expression.
`facePartiallyHidden` | 19 | Remove any obstacle from your face.
`turnHeadLeft` | 20 | Turn your head to the left.
`turnHeadRight` | 21 | Turn your head to the right.
`raiseHead` | 22 | Raise your head.
`lowerHead` | 23 | Lower your head.
`rotateHead` | 24 | Rotate your head in the specified direction.
`turnHeadSlightly` | 25 | Turn your head slightly.
`removeHeadCoverings` | 26 | Remove any head coverings.
`removeFaceMask` | 27 | Remove your face mask.
`removeGlasses` | 28 | Remove your glasses.
`removeSunglasses` | 29 | Remove your sunglasses.