Appearance
Issue Codes in API Responses
When end-users upload photos, these often come with various issues. We make a concerted effort to correct user's input. However, if we couldn't correct and identify any issue that might lead to rejection by the authority, we provide a list of issue codes in our API response for clarity and further action. The following are the issue codes currently in use:
- ISSUE_FACE_NOT_FOUND: No face detected in the uploaded photo.
- ISSUE_FACE_LIGHT_NOT_BALANCE: The lighting on the left and right sides of the face is unbalanced.
- ISSUE_FACE_BRIGHTNESS_BAD: The overall brightness level of the face is poor.
- ISSUE_EYEGLASSES_NOT_ALLOWED: Eyeglasses are present on the face, which is not permissible.
- ISSUE_EXPRESSION_NOT_NEUTRAL: The facial expression is not neutral as required.
- ISSUE_BOTTOM_INCOMPLETE: The input photo lacks sufficient lower body area, resulting in empty space at the bottom of the final output.
- ISSUE_LEFT_INCOMPLETE: The input photo does not include enough of the left shoulder area, leading to empty space on the left side of the final output.
- ISSUE_RIGHT_INCOMPLETE: The input photo does not include enough of the right shoulder area, leading to empty space on the right side of the final output.
Below is an example of input and output photo for ISSUE_BOTTOM_INCOMPLETE, ISSUE_LEFT_INCOMPLETE, ISSUE_RIGHT_INCOMPLETE.