timesler / facenet-pytorch

Pretrained Pytorch face detection (MTCNN) and facial recognition (InceptionResnet) models
MIT License
4.52k stars 951 forks source link

Whitening in mtcnn.py #146

Open AGenchev opened 3 years ago

AGenchev commented 3 years ago

in mtcnn.py the function prewhiten is not called. I wonder then whether the returned images are in the same form the pre-trained models expect. There is function fixed_image_standardization, but it does not perform normalization, only scaling.

sebbyjp commented 3 years ago

I also have this question. Should we manually prewhiten our images?