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 missesEvery shot that reaches the rim, with your field goal percentage and your longest streak.
Arc into the rimThe angle the ball drops into the hoop. About 45° gives the ball the biggest target.
Release elbowHow straight your shooting arm is as the ball leaves your hand.
Knee bendHow much you dip before you shoot. Longer shots need more legs.
Follow-throughWhether your shooting hand stays up after the release.

How it decides make or miss

  1. It compares each video frame with the ones before it to find small things that are moving, like the ball.
  2. 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.
  3. 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.
  4. 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 cameraA phone, tablet or laptop camera. Pick the back camera on a phone, or any USB webcam on a computer.
A phone as the cameraPut 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 camerasCameras 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 videoUpload a video you already filmed. It's analysed on your device.

Getting the best results

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.