yaojieliu / ECCV2018-FaceDeSpoofing

http://cvlab.cse.msu.edu/project-face-anti.html
MIT License
161 stars 42 forks source link

(64,64,1) uint8 depth map #13

Open rathodparmeshwar opened 4 years ago

rathodparmeshwar commented 4 years ago

Please help me in converting 256 image into (64,64,1) uint8 depth map as i could not find any reference to it.

rathodx commented 4 years ago

Convert RGB to grayscale and reshape it like this "dmap_image.reshape((64, 64, 1))" the and flatten it.