An open API service indexing awesome lists of open source software.

https://github.com/hamarshehmhmd/face_tracker

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.
https://github.com/hamarshehmhmd/face_tracker

face face-detection face-recognition opencv python python3 technology

Last synced: about 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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](https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalface_default.xml).
4. Downlaod the `haarcascade_eye.xml` file and place it in the project directory. You can download it from [here](https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_eye.xml).
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](LICENSE) file for details.

## Contact

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