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$
1
  • $\begingroup$ Any update on this? does anyone know about any pretrained head detection model? $\endgroup$ Mar 21, 2022 at 17:23

1 Answer 1

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$
5
  • $\begingroup$ Thanks for your suggestion. Let me check this facenet. Is it for face detection or specially for face recognition? $\endgroup$
    – Maf
    Nov 19, 2020 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$ Nov 19, 2020 at 11:04
  • $\begingroup$ Sounds great! I'll be right back after my tests... $\endgroup$
    – Maf
    Nov 20, 2020 at 9:19
  • $\begingroup$ Nice explanation here: link $\endgroup$ Nov 20, 2020 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, 2020 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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