ZHHJemotion / Infant-Face-Verification

Infant Face Verification using Pytorch
2 stars 0 forks source link

How to use this code? #1

Closed liliangqi closed 6 years ago

liliangqi commented 6 years ago

Hi, I'd like to verify two faces by comparing there representations in embedding space. How can I detect and extract features from a face image using your code?

ZHHJemotion commented 6 years ago

Hi, My code cannot detect face. I did face pre-processing when I prepareed the face dataset. For extracting face features, the deepid2.py containing 4 conv layers is applied to extract one face. The siamese net, Siamese_net.py, has two branches. If you want to detect face by deep learning, you can reference https://github.com/kpzhang93/MTCNN_face_detection_alignment, or by other method, I think http://dlib.net/ is a good choice.

liliangqi commented 6 years ago

Thank you very much!