How to tell whether it is a face or not?

I have a need: to determine whether the profile file uploaded by a user is a face photo. At present, I intend to do this: collect hundreds of face photos as one category, and hundreds of any pictures as another category, and then predict_proba returns the estimated value. If the probability of face exceeds 0.8, it passes, otherwise it fails. Excuse me, is this feasible? Is there a better way?


you may need this, face recognition


or use pure front end frontend face recognition

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32eaa-2b1b6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32eaa-2b1b6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?