-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what preprocess need to do before send face image into mobile-id network #5
Comments
I met the same problem。can you tell us what preprocess need to do? @liuziwei7 |
I met the same problem。 |
width height |
how aboult result |
the data in hdf format is stored in BGR not RGB, hdf data is single format and has a relation with uint8 RGB data as : RGB = (SingleHdf + 1.6) * 80. I am not sure, but for me, it works. |
Yes, the data in HDF5 file is stored in the BGR order channel-wise for accommodating with the Caffe convention. The value of the images has been normalized as: data = data * (3.2/255) - 1.6 . Also, the script for crop&align face images ("align_face_celeba.m") has been uploaded to the repository. |
for example,sub mean image or just divide some value
The text was updated successfully, but these errors were encountered: