Image Quality Requirements
Resolution
Format
Lighting
Focus
Image Content Constraints
1. Face Area
- Only one visible face allowed
- Face must be fully visible — no cropping at top, sides, or chin- Minimum face box size: 150 x 150 pixels
- Minimum pupil-to-pupil distance (distance between eyes): 50 pixels or more
- Padding between face and image borders: at least 15 pixels
- No occlusions (e.g. hair, hand, mask, accessories)
- No background faces or partial faces in the image
2. Face Orientation
- Frontal face required
- Pitch / yaw angle must be within ±30 degrees
- No extreme tilt or side-view
- Eyes, nose, and mouth must be symmetrically aligned
Conditions That May Cause Failure
- Motion blur
- Filtered images (e.g. texture smoothing, beautify filters)
- Strong light reflections or glare on the face
- Low light or colored lighting conditions
- Wide-angle or fish-eye lens distortion
- Sunglasses or heavily tinted glasses
Content Guidelines
Natural Expression
Direct Gaze
Full Face
No Obstructions
Common Issues to Avoid
Poor Lighting
Blurry Images
Partial Face
Multiple Faces
Reflections
Technical Requirements
Image Format Specifications
Image Format Specifications
- Format: JPEG, PNG, WebP
- Maximum Size: 10MB
- Minimum Resolution: 640x480 pixels
- Aspect Ratio: 1:1 to 4:3 recommended
- Color Space: RGB or sRGB
Base64 Encoding
Base64 Encoding
- Remove MIME type prefix (e.g., “image/png;base64,”)
- Use standard base64 encoding
- Ensure no line breaks or special characters
- Maximum encoded length: 15MB
Processing Time
Processing Time
- Typical response time: 2-5 seconds
- May vary based on image size and server load
- Larger images may take longer to process
Success Tips
Test with Sample Images
Implement Retry Logic
Monitor Response Times
Validate Results
Photo Guidelines
