Skip to content

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.

License

Notifications You must be signed in to change notification settings

CursedPrograms/Detect-Face

Repository files navigation

Twitter: @NorowaretaGemu License: MIT



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:

pip install -r requirements.txt

Or run:

  • install_requirements.bat


Run main.py

Using Python directly:

python main.py

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


About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published