Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.31 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.31 KB

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.