Its a face recognition system to detect faces using trained model.
- Poetry
- Python >= 3.10
- Dataset
- Webcam
- Create virtual env
poetry shell
- Install dependencies
poetry install
- Run encoder
python main.py --encode --model [MODEL_NAME='hog|cnn']
- Run
facer
with specific image
python main.py --model [MODEL_NAME='hog|cnn'] --image [IMAGE_PATH]
eg:
python main.py --model hog --image 'dataset/val/elon_musk/161856.jpg'
- Run
facer
with real time face detection using webcam
python main.py --model [MODEL_NAME='hog|cnn']
eg:
python main.py --model hog