For the Sybrin Face Compare API to work at its full potential it is important to follow the image input guidelines as stated below. Each section contains good and bad examples to help visualize any issues you might experience regarding bad lighting, misalignment, focus, etc.
The face should not be tilted or turned more than 10 degrees in any direction or orientation.
Ensure that the face does not take up too much or too little of the screen real-estate. A good ratio to aim for is to keep the face between 50% and 70% of the screen real-estate.
The face should be in focus and not blurred.
Ensure the image has proper lighting. Avoid over exposure, under exposure, too much or too little background or foreground lighting, glares, and reflections.
Light coming from behind the subject can affect with the lighting conditions on the face, interfering with the normal operations of the SDK.
Improper light balance or shadows on the face, can interfere with the normal operations of the SDK.
Remove all facial accessories and obstructions, as these can prevent the SDK from detecting all the necessary facial details. These include, but are not limited to:
- Hair in front of the face
The face should be centered in the middle of the frame and no details should be cut off.
The image resolution should be at least 1280x720. However, 1920x1080 is recommended.