anson0910 / CNN_face_detection

Implementation based on the paper Li et al., “A Convolutional Neural Network Cascade for Face Detection, ” 2015 CVPR
253 stars 147 forks source link

Resize images when creatiing LMDB file #39

Open ngksai opened 7 years ago

ngksai commented 7 years ago

Hi anson. when i was creating LMDB files required to train all nets i was mentioned image resize to 256 for width and height and i created LMDB files. is that causes accuracy changes when i will test model. if it is what are the changes i need to do for getting the better result.

Thanks&Regards N G K Sai

anson0910 commented 7 years ago

Hi N G K Sai,

I think using a size slightly larger than the model's input size would be best. For example, I chose 15 pixels for 12-net, since when you add all possible 12-pixel crops to the training set, the crops would still contain most of the face.

Thanks, Anson

ngksai commented 7 years ago

thank you anson