Hold detection now sees volumes and the holds on them
View as markdownOwnClimb finds the holds in a photo of a wall, and since this week it does so with a new model. The previous one was good at the common case: a hold on a flat panel, with plywood around it. It was much worse at the cases that make a modern gym wall: big volumes, and holds bolted onto those volumes or onto other holds.
What changed
The model was retrained on our own walls, labelled again from scratch. The old labels often left a volume out, or drew it around the holds on it, so the model learned to do the same. In the new labels a volume is a hold of its own, and a hold that sits on a volume is a second, separate hold on top of it.
The model also looks at each photo at three scales instead of two. A volume can be larger than the piece of the wall the model looks at in one pass; at the coarsest scale it fits in one, and is seen whole instead of as fragments along the edges.
A volume with holds on it
Both panels show the same part of a wall. Drag to move around, use the buttons to zoom, and point at a hold to see how confident each model is about it.
The previous model found every hold on the black volume, but the volume itself only as a broken piece along its lower edge. The new model outlines the whole volume and still keeps the holds on it as holds of their own.
A volume in poor light
In this photo the volume is in shadow. The previous model saw the two large holds on it and nothing else. The new model finds the volume, the hold on its edge and the faint holds on its face.
How much better
We kept 15 labelled walls out of training and scored both models against them. AP50 is the share of holds a model finds, with an outline that overlaps the labelled hold by at least half, weighted by how confident it was:
| Previous model | New model | |
|---|---|---|
| All holds | 0.962 | 0.974 |
| Small holds | 0.982 | 0.988 |
| Large holds | 0.967 | 0.977 |
| Holds covering more than 1% of the photo | 0.584 | 0.788 |
On ordinary holds both models were already close to their limit. The last row is volumes and the largest holds, and that is where the new model is far ahead.
And faster
The new model does about as much work per photo as the old one. What changed is that it now stays loaded on the graphics card between photos. Before, every photo first loaded the models, and that took longer than finding the holds.
On our five demo photos, finding and outlining the holds took 2.1 seconds per photo before and takes 1.2 seconds now. Uploading the photo and drawing the result come on top of that.
Try it
Upload a photo of your wall, or try one of the samples. Every new detection uses the new model.