Skip to content

This is a Python application that uses OpenCV to track faces in a video stream from a camera. The application detects faces in real-time and draws a rectangle around each face in the video stream.

License

Notifications You must be signed in to change notification settings

hamarshehmhmd/Face_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Tracking

This is a Python project that uses OpenCV to track faces in real time.

Installation

  1. Clone this repository to your local machine.
  2. Install the required dependencies by running pip install -r requirements.txt in the project directory.
  3. Download the haarcascade_frontalface_default.xml file and place it in the project directory. You can download it from here.
  4. Downlaod the haarcascade_eye.xml file and place it in the project directory. You can download it from here.
  5. Run the face_tracking.py script.

Usage

The face_tracking.py script will start capturing video from your default camera and track faces in real time. If a face is detected, a green rectangle will be drawn around it.

Press the q key to exit the program.

Contributing

Contributions to this project are welcome! If you have any suggestions or find any bugs, please open an issue or submit a pull request.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Contact

If you have any questions or concerns, feel free to contact Mohammad Hamarsheh at hamarshehmhmd@gmail.com.

About

This is a Python application that uses OpenCV to track faces in a video stream from a camera. The application detects faces in real-time and draws a rectangle around each face in the video stream.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages