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.
Using Python directly:
pip install -r requirements.txt
Or run:
install_requirements.bat
Using Python directly:
python main.py
Using provided scripts:
Windows:
.\run.bat
or.\run.ps1
Unix-like systems (Linux/macOS):
.\run.sh
numpy
opencv-python==4.8.1.78
Pillow==8.3.2
numpy==1.26.2