There is no better way to learn about robots and coding than building your own machines. The Octo-Bouncer is a project we all can learn from. It is a robot that can keep an orange ping pong ball bouncing. It uses 120fps OpenCV image processing to detect and calculate the ball’s 3D position and uses the information to control the ball.
As Electron Dust explains on YouTube, you are going to need a Teensy 4.0 microcontroller, 4x StepperOnline DM442S stepper motor drivers, 4x Nema 17 stepper motors, and a See3CAM_CU135 camera.