Skip to content

A simple Face Recognition application using python, opencv and face-recognition

License

Notifications You must be signed in to change notification settings

bumblebee211196/FaceRecognition

Repository files navigation

FaceRecognition

A simple Face Recognition application using python, opencv and face-recognition. For detail explanation check out my blog.

This was possible only due to the simple and clear explanation by Adrian Rosebrock's blog.

How to run?

1. Create virtual environment

python3 -m venv venv

macOS

source venv/bin/activate

Windows

.\venv\Scripts\activate

2. Install required dependencies

pip3 install -r requirements.txt

3. Execute

a. To detect faces from Images

python3 -m face_recognition_images -i /path/to/image/file.jpg -m hog

b. To detect faces from Videos

i. To detect faces from video files
python3 -m detect_faces_from_video -v /path/to/video/file.mov -m hog
ii. To detect faces realtime using camera
python3 -m detect_faces_from_video -m hog

About

A simple Face Recognition application using python, opencv and face-recognition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages