Skip to content

Commit d8d4b74

Browse files
committed
added face detection tutorial
1 parent e09e0e5 commit d8d4b74

File tree

8 files changed

+33374
-0
lines changed

8 files changed

+33374
-0
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This is a repository of all the tutorials of [The Python Code](https://www.thepy
1919
- ### [Machine Learning](https://www.thepythoncode.com/topic/machine-learning)
2020
- ### [Natural Language Processing](https://www.thepythoncode.com/topic/nlp)
2121
- [How to Build a Spam Classifier using Keras in Python](https://www.thepythoncode.com/article/build-spam-classifier-keras-python). ([code](machine-learning/nlp/spam-classifier))
22+
- [How to Detect Human Faces in Python using OpenCV](https://www.thepythoncode.com/article/detect-faces-opencv-python). ([code](machine-learning/face_detection))
2223

2324
- [Building a Speech Emotion Recognizer using Scikit-learn](https://www.thepythoncode.com/article/building-a-speech-emotion-recognizer-using-sklearn). ([code](machine-learning/speech-emotion-recognition))
2425
- [Top 8 Python Libraries For Data Scientists and Machine Learning Engineers](https://www.thepythoncode.com/article/top-python-libraries-for-data-scientists).

Diff for: machine-learning/face_detection/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# [How to Detect Human Faces in Python using OpenCV](https://www.thepythoncode.com/article/detect-faces-opencv-python)
2+
To run this:
3+
- `pip3 install -r requirements.txt`
4+
- If you want to detect faces in a sample image like `kids.jpg`, run `face_detection.py` script that generated another image `kids_detected.jpg` which contains rectangles around detected faces.
5+
- If you want to detect faces in your live cam, run `live_face_detection.py`

0 commit comments

Comments
 (0)