Vaibhav Nakrani
← WorkLog 06 / 11Vision

Target scoring assistant

Scoring a paper shooting target by hand means finding and judging about 38 holes. This does the first pass, so a person only corrects it.

Client
Independent client, via Upwork
Role
Sole ML engineer
When
March – May 2026
Stack
YOLO26 detect and pose, OpenCV, FastAPI, Docker, Cloud Run
~2×faster scoring per target
4 – 8corrections per target, in place of about 38 placements
1.4 sper photo, down from 22
94experiments on the ring detector
How it works

Scoring a paper target by hand means judging about 38 holes, one at a time. This tool does a first pass from a phone photo, and the person only corrects what it got wrong, usually 4 to 8 holes.

Two things have to be found in the photo: the holes and the rings. The holes are the easier part. The rings are harder, because photos come in tilted, cropped, and covered in stickers and pen marks, and a ring that is slightly off turns a 9 into an 8. So the ring finder works in two stages. A model makes a rough guess, and a simple line follower then moves each ring onto the printed line.

Problems and fixes

A helper that was too kind. I used a vision model to rate how well the rings fitted. It gave a clearly wrong fit 9 out of 10. From then on fits were measured in pixels, and the hard ones were looked at by a person, zoomed in.

The test was giving hints. One version looked great because part of its input was worked out from the correct answer, which a real photo never comes with. With that removed the scores were honest, and as a bonus several of the worst failures went away.

No answers for the photos that mattered. The messy outdoor photos had no hand-marked rings to compare against. I went through the model's fits on them one by one, kept only the ones that were clearly right, and used those as the answers from then on.

Print and holes confuse the line follower. Numbers printed on the target, tears and the holes themselves all have edges. The follower was changed to ignore edges that don't run around the centre the way a ring does, and to bridge small gaps.

Too slow to use. The first version took over twenty seconds a photo, nearly all of it in one step that works out the centre of the target. Rewriting that step brought a photo under two seconds, with the same results.

A scored target
Shooting target with every bullet hole boxed and scored
Fig. 1A phone photo, scored. Each hole gets a ring value; the total is in the corner.

Vaibhav showed outstanding result in this image recognition tasks. He has a remarkable balance between science, theory and the engineering. He is proactive and suggest good well thought solutions. Communication is excellent. Recommend working with him strongly

Client review on Upwork
Walkthrough

The six-minute version, in my own words.

Working on something like this? Message me on LinkedIn → or email nakranivaibhav14@gmail.com