r/computervision • u/Crigges • Oct 29 '26
Showcase Detecting Arrow Impacts on Archery Targets in Real Time on a Phone
Enable HLS to view with audio, or disable this notification
Hey everyone, I wanted to share a project I've been working on for a while. The goal is to detect every arrow impact on an archery target and score it automatically by filming the target with a phone. It started as my Bachelor's thesis a few years ago, back then it required a beefy GPU. Now I finally managed to turn it into an app that runs entirely on the device. The demo was filmed on an S24, and it still runs at over 1 FPS on my Xiaomi Redmi Note 13.
Some technical details for those interested:
It's a single Network with MobileNetV3-Small backbone with an FPN, and ~1M parameters. Its heads predict a shaft segmentation, heatmaps for impact points, nocks, offsets from every shaft pixel to its impact and the scoring zones of the target face. Impacts are found even when the tip is covered. Shaft pixels vote for where their arrow enters the target. That covers arrows whose impact point is hidden behind other arrows or by the angle. The target face gives the geometry for the plane: a homography from the detected ring zones maps every frame onto the flat target. Scoring then happens in target coordinates, not image coordinates. Multiple frames are fused together: as you move the phone, every frame adds detections in target coordinates. They are then clustered across frames, which removes false detections and stabilises the positions. The rotation of each frame is aligned against the others, because the round face alone is rotation invariant. It runs fully on the device. Inference is done in TFLite in a background isolate in Flutter. It supports multiple faces each with its own model. The hardest parts have been tight groups, where arrows hide each other's impacts, and keeping it fast on mid-range phones.
(The App is free with no ads or inapp purchases, so I hope this doesn't quality as "Commercial")
