Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 827 Bytes

File metadata and controls

21 lines (18 loc) · 827 Bytes

EventVisionTracker

CVBallEntryExitTracker The script identifies balls of different colors and logs their entry and exit times in different quadrants of the video frame.

Prerequisites

Python 3.x OpenCV (cv2) NumPy (numpy)

Usage

  1. Clone the repository git clone https://github.com/MPranav1/EventVisionTracker.git cd EventVisionTracker.git
  2. Download the input video from the drive link given below: Link(https://drive.google.com/file/d/1xAVc9YqcL2HwL-v5DirI3HReYNct7t1_/view?usp=sharing)
  3. 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.
  4. Run the Script

Output

The processed video will be saved as processed_video.avi, and the event data will be logged in event_data.txt.