0
$\begingroup$

I really need to know the best pre-trained models to detect faces and/or peoples' head. Not a face recognition model, but only to classify whether an object is a person's head/face or not.

I'm implementing one on top of Resnet50 from tensorflow.keras.applications.resnet50, but I'm not sure if it's a good approach.

Other models like centernet and efficientnet in tensorflow are pre-trained to detect several objects, but I'm not sure if I can also use it for this purpose.

I need something better than those provided by OpenCV (e.g. cv2.HOGDescriptor, cv2.CascadeClassifier, etc.).

$\endgroup$
0
$\begingroup$

Using facenet pretrained model to detect faces in image, but i thing ti will not detect the head, so i suggest that you train object detection model to detect faces and heads.

$\endgroup$
  • $\begingroup$ Thanks for your suggestion. Let me check this facenet. Is it for face detection or specially for face recognition? $\endgroup$ – Maf Nov 19 '20 at 11:00
  • $\begingroup$ it is face detection model also u can use it as feature extractor for faces, then you can apply ML algorithim like knn or svm to make the face recognition. $\endgroup$ – Mustafa Azzurri Nov 19 '20 at 11:04
  • $\begingroup$ Sounds great! I'll be right back after my tests... $\endgroup$ – Maf Nov 20 '20 at 9:19
  • $\begingroup$ Nice explanation here: link $\endgroup$ – Mustafa Azzurri Nov 20 '20 at 11:50
  • $\begingroup$ Thank you very much for your contribution. Now I can continue my investigation. Your help was very important. Now I'm implementing and comparing Google's Facenet, Facebook's DeepFace, Oxford's VGG Face and OpenFace from Universidade Carnegie Mellon. I'm going to use their Face detection feature without the recognition part as you suggested. FaceNet will probably be the chosen one as I'm checking it's highlighted as the most accuracy one in the state of art. $\endgroup$ – Maf Nov 22 '20 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.