Liveness¶
-
SDK.
detect_blink
(self: tfsdk.SDK) → Tuple[Trueface::ErrorCode, float, float]¶ Estimate score for eyes blink. Returns the left and right eye wink score, in that order. Score indicates likelihood of eye being open (0 is closed, 1 is open). Optimal threshold is 0.4 in normal use and 0.1 in low light conditions
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

