GitHub - 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.

Twitter: @NorowaretaGemu License: MIT

ko-fi

Python

OpenCV

Git PowerShell Shell Batch


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:

pip install -r requirements.txt

Or run:

  • install_requirements.bat


Run main.py

Using Python directly:

Using provided scripts:

Windows:

  • .\run.bat or
  • .\run.ps1

Unix-like systems (Linux/macOS):

  • .\run.sh


Requirements

numpy
opencv-python==4.8.1.78
Pillow==8.3.2
numpy==1.26.2

SynthWomb

CursedEntertainment Logo