https://github.com/cursedprograms/detect-face
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. The detected faces are saved in a specified output directory.
https://github.com/cursedprograms/detect-face
face-detection facial-recognition opencv python webcam-capture webcam-face-detection
Last synced: about 2 months ago
JSON representation
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. The detected faces are saved in a specified output directory.
- Host: GitHub
- URL: https://github.com/cursedprograms/detect-face
- Owner: CursedPrograms
- License: mit
- Created: 2024-01-25T17:58:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-20T22:34:35.000Z (12 months ago)
- Last Synced: 2024-10-22T02:48:49.037Z (12 months ago)
- Topics: face-detection, facial-recognition, opencv, python, webcam-capture, webcam-face-detection
- Language: Python
- Homepage: https://cursedprograms.github.io/Detect-Face/
- Size: 4.95 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://x.com/NorowaretaGemu)
[](https://opensource.org/licenses/MIT)
![]()
![]()
![]()
![]()
![]()
![]()
# Detect-Face
![]()
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
### /scripts/
- **feed_detection.py:** Detect faces in a webcam-feed
- **image_detection:** Detect faces in an image
- **install_dependencies.py:** Install dependencies## How to Run:
### Install Requirements
Using Python directly:
```bash
pip install -r requirements.txt
```
Or run:
- `install_requirements.bat`
### Run main.py
Using Python directly:
```bash
python main.py
```Using provided scripts:
Windows:
- `.\run.bat`
or
- `.\run.ps1`Unix-like systems (Linux/macOS):
- `.\run.sh`
## Requirements```bash
numpy
opencv-python==4.8.1.78
Pillow==8.3.2
numpy==1.26.2
```
- [GloriosaAI Repository](https://github.com/CursedPrograms/GloriosaAI)
- [Gender-Age-ID Repository](https://github.com/CursedPrograms/Gender-Age-ID)
- [Image-Generator Repository](https://github.com/CursedPrograms/Image-Generator)
- [Cursed GPT Repository](https://github.com/CursedPrograms/Cursed-GPT)