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

Menu