This repo created with the help of FreeCodeCamp.org's OpenCV Tutorial video. You can access the video with this link.
This face recognation model created with OpenCV's built in functions. The results are not perfect because of that. In near future, I'll add more images to predict more accurate.
Used 5 classes of famous people to train.
Faces > train - val
Classes:
- Ben Afflek
- Elton John
- Jerry Seinfield
- Madonna
- Mindy Kaling
- OpenCV Contrib library. OpenCV, and OpenCV contrib libraries are not the same. OpenCV contains main modules, OpenCV contrib contains both main modules and contrib/extra modules. My installation took so long, and I had to use Google Colab for this, so I used
matplotlib
library to display the image.pip3 install opencv-contrib-python
- Matplotlib
pip3 install matplotlib
- Numpy
pip3 install numpy
- OS