CVBallEntryExitTracker The script identifies balls of different colors and logs their entry and exit times in different quadrants of the video frame.
Python 3.x OpenCV (cv2) NumPy (numpy)
- Clone the repository git clone https://github.com/MPranav1/EventVisionTracker.git cd EventVisionTracker.git
- Download the input video from the drive link given below: Link(https://drive.google.com/file/d/1xAVc9YqcL2HwL-v5DirI3HReYNct7t1_/view?usp=sharing)
- Path to the input video To use input video, Download the video from the given Google Drive link to the video and replace the video_path variable in the script with the path to your video.
- Run the Script
The processed video will be saved as processed_video.avi, and the event data will be logged in event_data.txt.