404: Swish Not Found

Perfect Shot, Every Time

Using computer vision and motor control, our system moves the basketball hoop in real time, adjusting to the ball's trajectory to ensure (almost!) every shot goes in.

System Overview and Objectives

This project was inspired by an engineering project done by the YouTuber ‘Stuff Made Here’ (Shane Wighton). The goal of this project was to make a basketball hoop that could move in 2D and make any shot go in within the moving area of the system. Objectives to fulfill the main goal included ball tracking, trajectory prediction, hoop actuation, and robust structural framing.
Ball Tracking

To determine where the hoop has to move to, the ball must be tracked as it flies towards the hoop. The ball is detected with an Xbox Kinect overlooking the ‘court’, and this data is processed for ball tracking with computer vision.

Trajectory Prediction

A mathematical path of the ball was developed using a physics-based model and a quadratic regression for height in the z-direction and a linear regression for movement in the x and y-directions. Using this predicted trajectory, our code outputs a final point that the hoop should move to, which can be used by the firmware.

Hoop Actuation

Hoop movement is conducted using a cable system driven by stepper motors. The final point given from the trajectory prediction directs the motor actuation. The cables are controlled by the motors mounted on the frame and are attached to the corners of the hoop. These cables are then spooled and unspooled to position the backboard and hoop in the predicted location.

Robust Framing

To mount and house all the components, we manufactured a mounting frame and electrical box. The frame was constructed so that the motors and moving area of the hoop were located high enough such that a high arcing shot could be made, similar to playing real basketball.

Mobirise Website Builder

Constraints

Budget

$250 and found materials

Time

7 weeks from start to finish 

Meet the Team

© Copyright 404: Swish Not Found. All Rights Reserved.

HTML Creator