After I created my own database, I combined it with the Eigenfaces code to test the result and also some other factors such as the distance.
Distance:
Based on many tests I had done, the distance between the Visitor's face and the Closest's face are usually above 2200 at my home and office(As the pictures above shown), especially when the lighting and the distance between the visitor to the camera doesn't change.
To test the distance between the Visitor's (who was already in the database) face and his/her picture in the database, I made sure that I stayed in the same environment(in the office) so that the lighting and all other factors will not change. The results for this environment show that the distances are all below 2000. When the visitor's make-up and hairstyle didn't change a lot, the distances are lower at around 1200, or sometime even lower (picture no.1 and 2 on the left). But when the visitor's make-up and hairstyle changed dramatically, the distances tend to be higher.(picture no.3 and 4 on the left) |
But when I set-up the box, I will need to check the distance again because the lighting and environment really affect the distance a lot.