An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![Twitter: @NorowaretaGemu](https://img.shields.io/badge/X-@NorowaretaGemu-blue.svg?style=flat)](https://x.com/NorowaretaGemu)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)





ko-fi




Python


OpenCV


Git
PowerShell
Shell
Batch


# Detect-Face


CursedEntertainment Logo



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)





SynthWomb






CursedEntertainment Logo