I am making a Robot goalie, the robot is supposed to detect whether a ball has been thrown in its direction , sense the direction of the ball and then stop it from entering the goal post. A webcam will be mounted on top of the goal post. The robot is required to only move horizontally (left or right), it shouldn't move forwards or backwards. The robot will have wheels, the image processing will be performed by raspberry pi which will then send the required information to a micro controller which will be responsible for moving the robot in the required direction(using servo motors). Which image processing algorithm will be the best to implement this scenario?
1 Answer
Ball detection using vision is not extremely difficult, especially if the ball is easy to recognize. There are a lot of tutorials and blogs which give a detailed explanation on how to implement an algorithm to solve this problem:
- Raspberry Pi Ball tracking
- Using OpenCV on the Beagleboard to track an Aibo pink ball
- OpenCV Tutorial C++ - Color Detection & Object Tracking
- Ball Tracking / Detection using OpenCV
- Ball detection with OpenCV
- Design of an Image Processing Algorithm For Ball Detection
- Fast Object Tracking – Robot Computer Vision
- ...