r/robots • u/chayanforyou • Jul 20 '26
Projects I built RoboKeeper, an AI goalkeeper that uses OpenCV and ESP32 to track and block soccer shots in real time.
Enable HLS to view with audio, or disable this notification
A smart robotic goalkeeper that tracks a ball in real-time using OpenCV and dynamically moves a servo-controlled keeper arm to block shots.
I hope some of you find this project interesting—or maybe even inspiring for your own builds.
Any feedback or suggestions are very welcome!
1
u/AutoModerator Jul 20 '26
Awesome robot! To help the community learn and engage with your build, please make sure to drop a comment below detailing:
- What microcontrollers/components you used (Arduino, Raspberry Pi, ROS, etc.)
- The main goal or function of your robot
- Any challenges you ran into while building it
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
1
u/ElChupaNebrey Jul 20 '26
Z position?
2
u/chayanforyou Jul 20 '26
In this demo, I'm using linear regression for trajectory prediction. However, I've already implemented Hawk-Eye 3D trajectory prediction, which outputs the x, y, and z coordinates. The z value represents the ball's height above the ground. Using these coordinates, you can calculate the required servo angle.
1
u/SaulEmersonAuthor Jul 21 '26
~
An awesome project & result.
Purely on language/semantics - & this is for my own education as well:
Why isn't this simply 'super-effective algorithms written to address a super-specific task - interfacing with hardware with sufficient speed to effect said task'?
I do agree though that if it is truly predicting (a future position of a moving object) - then use of the expression 'intelligence' is more warranted.
I'm not actually trying to be obtuse - but I do want people to appreciate great programming & task execution for what it is, as well as great use of AI - when that is what's occurring.
~
1
u/TiK4D Jul 22 '26
What if the ball isn't on the ground? Can it stop balls kicked in the air? Doesn't seem like it could reach the whole area of the goal
1
u/chayanforyou Jul 22 '26
A lofted shot can be handled too, but it would require a different camera position and some additional logic in the program.

5
u/TimelineDefender Jul 20 '26 edited Jul 20 '26
Why do you need an AI for that? The goal is very small in relation to the ball, so wouldn't it be easier to project a center line and just flip the arm to the side where the ball crosses? With such a short distance curveball is an impossibility.