Skip to content

Commit

Permalink
added face detection tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
x4nth055 committed Sep 6, 2019
1 parent e09e0e5 commit d8d4b74
Show file tree
Hide file tree
Showing 8 changed files with 33,374 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This is a repository of all the tutorials of [The Python Code](https://www.thepy
- ### [Machine Learning](https://www.thepythoncode.com/topic/machine-learning)
- ### [Natural Language Processing](https://www.thepythoncode.com/topic/nlp)
- [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))
- [How to Detect Human Faces in Python using OpenCV](https://www.thepythoncode.com/article/detect-faces-opencv-python). ([code](machine-learning/face_detection))

- [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))
- [Top 8 Python Libraries For Data Scientists and Machine Learning Engineers](https://www.thepythoncode.com/article/top-python-libraries-for-data-scientists).
Expand Down
5 changes: 5 additions & 0 deletions machine-learning/face_detection/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# [How to Detect Human Faces in Python using OpenCV](https://www.thepythoncode.com/article/detect-faces-opencv-python)
To run this:
- `pip3 install -r requirements.txt`
- 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.
- If you want to detect faces in your live cam, run `live_face_detection.py`
Loading

0 comments on commit d8d4b74

Please sign in to comment.