<commit_before>---
published: true
title: Face detection
tags: computer-vision
---
- [Face detection algorithms comparison](http://datahacker.rs/017-face-detection-algorithms-comparison/)
	- OpenCV Haarcascade
    - OpenCV DNN
    - Detecting a face using Dlib
    - MTCNN
    - Facenet
    - [OpenFace](https://cmusatyalab.github.io/openface/)
    - The Viola-Jones Algorithm (2001)
    	- Haar-like features (edge, line, four rectangle features)
		- Integral Image - compute sum once, then 4 point give the integral inside the given rectangle
        - Adaboost - build a strong classifier from weaker one, complementing each previous one
    

- [Face Landmark Detection ](https://www.youtube.com/watch?v=V9bzew8A1tc) / [Murtaza's Workshop](https://www.youtube.com/c/MurtazasWorkshopRoboticsandAI/videos)

- [Face Body and Hand Pose Detection with Python and Mediapipe](https://www.youtube.com/watch?v=pG4sUNDOZFg)

- [insightface](https://github.com/deepinsight/insightface)
	- [RetinaFace-tf2](https://github.com/StanislasBertrand/RetinaFace-tf2)

![caption](https://raw.githubusercontent.com/deepinsight/insightface/master/resources/facerecognitionfromvideo.PNG) <!-- .element height="50%" width="50% ustify-content="left" --><commit_msg>Update 2020-08-19-face-detection.md<commit_after>---
published: true
title: Face detection
tags: computer-vision
---
- [Face detection algorithms comparison](http://datahacker.rs/017-face-detection-algorithms-comparison/)
	- OpenCV Haarcascade
    - OpenCV DNN
    - Detecting a face using Dlib
    - MTCNN
    - Facenet
    - [OpenFace](https://cmusatyalab.github.io/openface/)
    - The Viola-Jones Algorithm (2001)
    	- Haar-like features (edge, line, four rectangle features)
		- Integral Image - compute sum once, then 4 point give the integral inside the given rectangle
        - Adaboost - build a strong classifier from weaker one, complementing each previous one
    

- [Face Landmark Detection ](https://www.youtube.com/watch?v=V9bzew8A1tc) / [Murtaza's Workshop](https://www.youtube.com/c/MurtazasWorkshopRoboticsandAI/videos)

- [Face Body and Hand Pose Detection with Python and Mediapipe](https://www.youtube.com/watch?v=pG4sUNDOZFg)

- [insightface](https://github.com/deepinsight/insightface)
	- [RetinaFace-tf2](https://github.com/StanislasBertrand/RetinaFace-tf2)


### Profile Face

- [why it cannot detect some profile face?](https://answers.opencv.org/question/204685/why-it-cannot-detect-some-profile-face/)
- [Face Detection with OpenCV for non frontal images](https://stackoverflow.com/questions/8798670/face-detection-with-opencv-for-non-frontal-images)
	- [Feature detection in profile face images](https://stackoverflow.com/questions/22145565/feature-detection-in-profile-face-images)

![caption](https://raw.githubusercontent.com/deepinsight/insightface/master/resources/facerecognitionfromvideo.PNG) <!-- .element height="50%" width="50% ustify-content="left" -->
{'fraction_non_alphanumeric': 0.13095238095238096, 'fraction_numerical': 0.022108843537414966, 'mean_word_length': 4.2238010657193605, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 17, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4919907', 'n_tokens_mistral': 1020, 'n_tokens_neox': 933, 'n_words': 195}