How many images needed for face recognition?
We recommend that at least five images of the person are indexed—straight on, face turned left with a yaw of 45 degrees or less, face turned right with a yaw of 45 degrees or less, face tilted down with a pitch of 30 degrees or less, and face tilted up with a pitch of 45 degrees or less.
How to compare two faces in Java?
The distance command compares two faces to each other. As a result, you will get distance between two faces in range [0.0, 1.0], where 0.0 value means the faces are similar and 1.0 value means the faces are different.