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.
## Scripts:
- main.py: The selection menu for Detect-Face
- feed_detection.py: Detect faces in a webcam-feed
- image_detection: Detect faces in an image
- install_dependencies.py: Install dependencies
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