https://github.com/sheikhharis50/facer
Facer is a face recognition system built on face_recognition package and opencv
https://github.com/sheikhharis50/facer
ai dlib face-detection face-recognition numpy opencv poetry real-time real-time-face-detection
Last synced: about 9 hours ago
JSON representation
Facer is a face recognition system built on face_recognition package and opencv
- Host: GitHub
- URL: https://github.com/sheikhharis50/facer
- Owner: Sheikhharis50
- Created: 2023-10-14T19:26:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-07-01T07:14:39.000Z (8 days ago)
- Last Synced: 2026-07-01T09:13:27.278Z (8 days ago)
- Topics: ai, dlib, face-detection, face-recognition, numpy, opencv, poetry, real-time, real-time-face-detection
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Facer
Its a face recognition system to detect faces using trained model.
## Prerequisites
1. Poetry
2. Python >= 3.10
3. [Dataset](https://www.kaggle.com/datasets/adg1822/7-celebrity-images)
4. Webcam
## QuickStart
1. Create virtual env
```bash
poetry shell
```
2. Install dependencies
```bash
poetry install
```
3. Run encoder
```bash
python main.py --encode --model [MODEL_NAME='hog|cnn']
```
4. Run `facer` with specific image
```bash
python main.py --model [MODEL_NAME='hog|cnn'] --image [IMAGE_PATH]
```
_eg:_
```bash
python main.py --model hog --image 'dataset/val/elon_musk/161856.jpg'
```
4. Run `facer` with real time face detection using webcam
```bash
python main.py --model [MODEL_NAME='hog|cnn']
```
_eg:_
```bash
python main.py --model hog
```
## References
- [face-recognition-with-python](https://realpython.com/face-recognition-with-python/#demo)
- [real-time-object-detection-with-yolo](https://dipankarmedh1.medium.com/real-time-object-detection-with-yolo-and-webcam-enhancing-your-computer-vision-skills-861b97c78993)
## Author
- [Sheikh Haris Zahid](https://github.com/sheikhharis50)