deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
22.86k stars 5.35k forks source link

Using other face detectors for face attribute detection #2348

Open shekarneo opened 1 year ago

shekarneo commented 1 year ago

Hello, can I use any other face detectors for age and gender detection? Will the results be the same if I do the preprocessing the same way as here?

Devang-C commented 1 year ago

Yes you can use other face detectors while preprocessing the images as done in this repository. Although you will have to be careful because face detectors while detecting faces take input images in a certain size, and there you might get compatibility issues. So make sure to use resize function to resize the images if needed