TropComplique / FaceBoxes-tensorflow

A fast face detector
MIT License
179 stars 66 forks source link

about the advice of small face #24

Open zhouyufei0001 opened 5 years ago

zhouyufei0001 commented 5 years ago

thanks for your jobs! the faceboxes doesn't work well on small face as you warning in Notes 1, it's kind of you for advice of 'But you can improve its performance if you upscale images before feeding them to the network.For example, resize an image keeping its aspect ratio so its smaller dimension is 768.', I can't understand well about this, do you have some Literature or code about this? thank you very much

TropComplique commented 5 years ago

The detector only works well for faces of certain scales. The scales that it has seen during the training. So when you use the detector you need to make sure that input images have faces of the right scales.

Also, it is a standard practice in object detection to upscale an image before feeding it to a network.