This project utilizes the OpenCV and Pillow (PIL) libraries to detect faces in images and webcam feeds, marking them with rectangles. The detected faces are saved in a specified output directory.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Using Python directly:
python main.py
Using provided scripts:
Windows:
.\run.bat
or.\run.ps1Unix-like systems (Linux/macOS):
.\run.sh
Package Version
------------- --------
numpy 1.26.2
opencv-python 4.8.1.78
Pillow 8.3.2
pip 26.0.1