
Detect-Face
📖 Overview
Overview
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:
Scripts
- **main.py:** The selection menu for Detect-Face
### /scripts/
- **feed_detection.py:** Detect faces in a webcam-feed
- **image_detection:** Detect faces in an image
- **install_dependencies.py:** Install dependencies
Setup:
Environment Setup
Environment Setup
#### Lunix
```bash
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
#### Windows PowerShell
```bash
python.exe -m pip install --upgrade pip
py -3.11 -m venv venv311
venv311\Scripts\activate
pip install -r requirements.txt
```
Run main.py
Using Python directly:
Using provided scripts:
Windows:
Unix-like systems (Linux/macOS):
© Cursed Entertainment 2026