A simple implementation of Face Detection and Face Recognition using Python OpenCV 🖥️
- Development Environment
- Install Python
- Install numpy
- Install OpenCV
- Install Pillow
- Common Errors I Faced
- Resources
- OS: Windows 10
- IDE: PyCharm
- External Peripharals: Internal + External Webcam
You can Download and Install python from the following link: Download Python
Use the following command in Command Prompt (Administrator) to install numpy in your System
pip install numpy
Use the following command in Command Prompt (Administrator) to install openCV in your System
pip install opencv-python
Use the following command in Command Prompt (Administrator) to install Pillow in your System
pip install Pillow
Invalid HAAR feature (expected: 'rw.r.x < W'), where
> 'rw.r.x' is 17<br>
> must be less than<br>
> 'W' is 15
You will find a <size></size>
tag inside of the metioned HAAR .xml file, It Contains the Width-W, and Height-H, making either of the needed value greater than the required value helps. (basically 32)
- Know more about OpenCV: OpenCV
- Know more about HAAR-Cascades: Haar Cascades
- Where to search for python libraries: pypi.org
- HaarCascade OpenCV files: Click here
- HaarCascade SimpleCV files: Click here