Android app that calculates the distance between a user's face and his phone
It's based on the distance between eyes. The further the face, the less the distance between your eyes appears on the camera.
The formula I used is:
Android app that calculates the distance between a user's face and the phone
JavaNOASSERTION