This repository demonstrates an advanced video preprocessing technique using the state-of-the-art YOLOv8 object detection model combined with BYTETracker for object tracking. The primary functionality includes detecting and tracking objects in a video stream and darkening all other pixels except for those within the bounding boxes of the detected objects. This preprocessing technique is especially useful in privacy-sensitive environments or for highlighting specific objects in a video analysis task.
Below are the hyperlinks to watch the original and processed videos directly from this repository:
-
Original Video:
Watch the Original Video -
Processed Video with Darkened Background:
Watch the Processed Video
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Note: This project is intended for educational and research purposes only and is not suited for production use without further modifications and testing.