deepid-implementation
deepid-implementation copied to clipboard
[INFO] The process of Xiang Wu's model
reference: happynear/FaceVerification
OK, I can tell you something you should be attention to in order to use Xiang Wu's model.
- Wu's alignment method is different from mine. He used the five-point landmark detection algorithm provided by CUHK, and he aligned the face image both horizontally and vertically, while in my implementation, only vertical alginment is applied.
- Wu's face image size is 128x128, so the aligned image should also be resized to 128x128.
- Wu's network was trained without mean file, so there is no need to find it.
- The distance between two facial images can be calculated by caffe directly, these configurations are in CASIA_demo.prototxt, including a Normalization layer and a Euclidean layer.
- The threshold of same / different person can be got by cross-validation on LFW or your own dataset. Since it is only one number, it is all ok to use whether 1000 samples or 10000 samples.
#4 AlfredXiangWu