git clone https://github.com/trunc8/Ball_Tracking_Using_OpenCV_And_ROS.git ball_trackingin the src folder of your catkin_ws (or equivalent ROS workspace).roscorein Tab 1rosrun ball_tracking video_publisher.pyin Tab 2rosrun ball_tracking ball_tracker.pyin Tab 3
video_publisher.pyreads video file using OpenCV, converts the frames to ROS Image Message using CvBridge and publishes to topic '/ball_video'ball_tracker.pysubscribes to the ROS Image topic, suitably converts to OpenCV image and performs contour tracking on the ball
- Siddharth Saha - trunc8
Created with ❤️ by Siddharth