ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I did a google search for your question title, and the first two results look like good tutorials:
https://opencv-srf.blogspot.com/2010/09/object-detection-using-color-seperation.html https://solarianprogrammer.com/2015/05/08/detect-red-circles-image-using-opencv/
I'm going to close this as off-topic because it seems more like an OpenCV question than a ROS question.
If you have a ROS-related image processing question, please ask a new question describing what you're trying to do, anything you've already tried, and if you're following a tutorial, a link to the tutorial.
If you're trying to solve a program or compile error, please paste the source code and the error message into your question.