How Rockbro works
Rockbro is a free basketball shot tracker that runs in your web browser. You point a camera at the hoop, mark the rim with two taps, and shoot. It counts your makes and misses, measures how your ball comes into the rim, looks at your shooting form, and keeps a record of every session.
What it measures
| Makes and misses | Every shot that reaches the rim, with your field goal percentage and your longest streak. |
|---|---|
| Arc into the rim | The angle the ball drops into the hoop. About 45° gives the ball the biggest target. |
| Release elbow | How straight your shooting arm is as the ball leaves your hand. |
| Knee bend | How much you dip before you shoot. Longer shots need more legs. |
| Follow-through | Whether your shooting hand stays up after the release. |
How it decides make or miss
- It compares each video frame with the ones before it to find small things that are moving, like the ball.
- A ball in the air follows a curve because of gravity. Rockbro looks for moving spots that line up on that kind of curve, which ignores people walking past and swinging arms.
- It follows that curve to the rim you marked. If the ball drops through the ring and keeps falling straight below it, that's a make. If it bounces off, falls short or goes past, that's a miss.
- Your body is tracked at the same time with MediaPipe, a free body-tracking model from Google that runs on your device. That's where the elbow, knee and follow-through numbers come from.
If a shot is counted wrong, tap its dot during the session to switch it, or use Add make, Add miss and Undo.
Cameras you can use
| This device's camera | A phone, tablet or laptop camera. Pick the back camera on a phone, or any USB webcam on a computer. |
|---|---|
| A phone as the camera | Put a phone by the hoop and watch on a laptop or tablet. Scan the code on the big screen with the phone and the video is sent straight across. |
| Home and security cameras | Cameras with an RTSP address (many Tapo, Reolink, Hikvision, Amcrest and some Xiaomi models). These need the free Rockbro Camera Helper running on a computer on the same Wi-Fi. |
| A recorded video | Upload a video you already filmed. It's analysed on your device. |
Getting the best results
- Film from the side of where you shoot, 3 to 6 metres away, with the phone held sideways (landscape).
- Keep both you and the rim in the picture, and make sure the phone can't move.
- Daylight or a bright gym works best. A ball that's a similar colour to the background is harder to see.
- One shooter at a time gives the cleanest numbers.
Your privacy
The video is analysed on your own device. Rockbro has no accounts and doesn't collect your video, your stats or your name. Player profiles and sessions are saved in this browser only. The privacy policy has the details.
Nugget
Nugget is Rockbro's coach. Nugget calls out your makes, reads out the score every five shots and gives you a few things to work on at the end. You can turn the voice off during a session.