A contour detection algorithm using CVBridge on ROS-Noetic
-
Make sure that you have all the necessary libraries such as OpenCV4 etc. installed.
-
If not identify these libraries in the header of the algorithm and pip install these files.
-
Activate the roscore
-
Before running this ROS Script we need to load the ROS camera node using rosrun usb_cam usb_cam_node _pixel_format:=yuyv
-
Go inside the workspace, source it and run the script using rosrun ball_detection tennis_ball_usb_cam_tracker.py