Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-Detection-Program

This program is designed to enhance security and monitoring systems by detecting faces in real-time. When a face is detected, it plays an alarm sound and returns an alert in the command prompt. The program utilizes computer vision and machine learning techniques to accurately identify faces.

Features Real-time Face Detection: Utilizes a webcam or an external camera to monitor and detect faces in real-time. Alarm System: Plays an alarm sound when a face is detected to alert the user. Command Prompt Alerts: Displays an alert message in the command prompt upon detecting a face. Customizable Settings: Allows users to customize the sensitivity and parameters of the face detection algorithm. Logging: Logs the date and time of each face detection event for record-keeping and analysis. Platform Compatibility: Compatible with various operating systems including Windows, macOS, and Linux. Prerequisites Python 3.x OpenCV library numpy library pyaudio library (for playing alarm sound) Installation

Clone the repository

git clone https://github.com/annuaicoder/Face-Detection-Program.git cd Face-Detection-Program

Create a Virtual Environment

python -m venv env cd env source bin/activate

Executing the program

Move out of the virtual env

cd ..

Running the script

Make setup script executable

chmod +x setup.sh

run setup script and execute the program

./setup.sh

Youtube Tutorial

I posted a youtube video for this face detection script

https://www.youtube.com/watch?v=pSpzfo1YTaI

About

This is a program that plays an alarm sound and returns an alert in the command prompt when it detects a face.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages