This repo is storing my programs created during a Face Recognition course at Institute of Automation, Chinese Academy of Sciences. To run it, you need to have:
- A working python3
- Module
opencv-contrib-python
- Module
opencv-python
- Module
numpy
- Module
face_recognition
- Module
dlib
Installing those packages are not that hard, we can just puts these commands into the terminal:
$ brew install python # This installs Python 3.7 by HomeBrew
$ pip3 install numpy
$ pip3 install opencv-python # This installs numpy as its dependency
$ pip3 install opencv-contrib-python # For object tracking
$ pip3 install face_recognition # This installs dlib as its dependency
- display.py program to show a picture using OpenCV functions
- video_capture.py to record what's in the webcam
- mirror_facedetect.py to detect faces in the webcam
- face_ident.py to identify the actual person from their faces
- gen_encoding.py to generate
.face
files from images - display_faces.py to put rectangles on the faces of a picture
- paint_stuff.py to draw rectangles by mouse on a custom background image
- track.py to track an object from user's selection
- face_decor.py Put decorations on your face, click and enjoy!