Liveness
===============

.. automethod:: tfsdk.SDK.detect_blink

Use the following guidelines for best performance:

- Camera should see frontal view of the face
- The eyes should be looking directly into the camera
- The face should be 1 - 2 ft from the camera
- Recommended 640 x 480 resolution or better
- Ensure there is good lighting illuminating the eyes

.. image:: ../../shared/images/blink_detection_distance.png
   :width: 400pt

.. image:: ../../shared/images/blink_detection_lighting.png
   :width: 400pt