Anglers photograph most of the fish they catch, but the photo does not show the number fisheries scientists and regulators most often need: the fish’s length. Catch length data feed stock assessment, especially in data-poor fisheries, and minimum size limits are set by length. Fishometry, my MSc thesis research, asks how well a model can estimate length from a single photo, without depth sensors, camera calibration, or reading a reference object.
On 348 held-out angler photos of 13 species, the best pipeline is off by 5.53 cm on average, against 8.76 cm for guessing the species’ mean length (36.9% lower) and 7.60 cm for the validation-selected model on detected measurements alone.
The data came already collected, with lengths and detector bounding boxes labeled: my supervisor organized the controlled capture, and anglers photographed and measured their own catches. I did all the modeling: the YOLO11 detectors, the depth and segmentation pipeline, the vision-language scene annotations (run on a university GPU machine), every model family, the experiments, and the results explorer. Controlled photos use a marked board and some uncontrolled photos contain measuring devices, but no camera intrinsics or depth sensors are provided.
The interactive Fishometry walkthrough needs JavaScript.
Why it is hard
One uncalibrated photo cannot uniquely recover physical scale: a small fish close to the camera fills the same pixels as a large one farther away. The depth model used here returns relative depth, not distance in meters; metric depth models take their scale from learned expectations about typical scenes, not from the photo itself. The real question is how much length information learned features recover within a known distribution of photos, and whether that survives changes in scale and scene.
How it works
- YOLO11 models trained for this study detect the fish, head, and tail, plus the eye in controlled photos (the uncontrolled detector has no eye class); Depth Anything V2 (Large) samples relative depth at the head, body, and tail; Segment Anything (ViT-L) isolates the fish outline.
- Uncontrolled photos add scene annotations from Nemotron 3 Nano Omni (30B-A3B), a vision-language model, including a yes/no “measuring device visible” flag, and the species named in the angler’s catch record. A hand check of 500 photos found no wrong answers. No step reads device markings.
- Seven model families: a mean baseline (the species mean for uncontrolled photos), linear regression, XGBoost, a small tabular neural network, a ResNet-18 on the isolated fish plus measurements, and EfficientNet-B3 or multi-view DINOv2 embeddings with ridge regression. Every family except the baseline runs with and without depth; the two embedding families run on uncontrolled photos only (17 controlled, 17 zoom-derived, and 41 uncontrolled configurations).
- Splits are 70/15/15 and fixed before preprocessing; everything was chosen on validation MAE and the test set was used once.
How the splits and selection work
Zoomed versions of a photo stay in their source photo’s split. Hyperparameters, pipeline design, and the reported configuration were all chosen on validation MAE, so the selected configuration’s validation MAE is optimistic (4.98 cm on uncontrolled photos, against 5.53 cm on test); the test MAE carries no selection bias.
Photos are split within species. With no catch or angler IDs, photos of the same catch may cross splits, so results apply to new photos from this collection, not to new anglers or new species. Uncontrolled labels are the anglers’ own tape measurements in whole centimeters; controlled labels are in millimeters. MAE measures agreement with those labels, not with a calibrated physical measurement.
Confidence intervals are 95% bootstrap intervals from 2,000 resamples of the test photos, with all zoom versions of a photo resampled together. They cover the choice of test photos, not refitting: every result comes from one split and fixed seeds.
Results
| Dataset | Photos | Test photos scored | Best test result |
|---|---|---|---|
| Controlled | 302, one species, fixed camera distance | 46 | 0.12 cm MAE (0.76% MAPE; 95% CI 0.09–0.16), linear regression on box coordinates |
| Zoom-derived | 906 = 302 photos × 3 (original, digitally zoomed in, zoomed out) | 135 (46 × 3, 3 lost at detection) | 0.71 cm MAE (4.1% MAPE; 95% CI 0.55–0.87), boosted trees with relative depth |
| Uncontrolled | 2,391 angling photos, 13 species, 7–127 cm | 348 | 5.53 cm MAE (14.0% MAPE; 95% CI 5.06–6.05), DINOv2 + ridge |
Each dataset answers a different question. In controlled photos the fixed geometry acts as a hidden ruler, which is why 0.12 cm is possible there. Digital zoom (crop and resample, not a moved camera) breaks that ruler: the same configuration, retrained on zoom-derived photos, reaches 2.01 cm. Relative depth cuts the boosted-tree error by 60% (from 1.79 to 0.71 cm; paired 95% CI for the reduction: 0.82–1.36 cm), most likely because its values shift with the zoom and tell the model which version it sees; it does not measure distance.
In uncontrolled photos, the whole photograph helps most: validation-selected DINOv2 features reach 5.53 cm MAE, a 3.23 cm improvement over the species-mean baseline (paired 95% CI 2.62–3.86), against 7.60 cm for the validation-selected model on detected measurements alone. All receive the species from the catch record. Nine test images that failed landmark detection are excluded; scoring them at twice the average error would give 5.67 cm. The pipeline has a lower error than the species average for all 13 species, though only marginally for Garfish (below).
About a third of uncontrolled photos show a measuring device. No step reads its markings, but the whole-photo embeddings do see it, so the test is whether the gain is larger when one is visible. It is almost the same:
| Uncontrolled test photos (device flag from the vision-language annotation) | Photos (n) | DINOv2 pipeline MAE | MAPE | Species-mean baseline | Reduction |
|---|---|---|---|---|---|
| No device visible | 228 | 6.12 cm | 14.1% | 9.59 cm | 36.2% |
| Measuring device visible | 120 | 4.40 cm | 13.8% | 7.18 cm | 38.8% |
| All scored uncontrolled photos | 348 | 5.53 cm | 14.0% | 8.76 cm | 36.9% |
Photos with a device show smaller fish (mean 35.5 against 57.0 cm), so their baseline is lower too. The 36 photos with a ruler show a larger reduction (45.7%), within chance for a group that small, though a small effect cannot be ruled out. This is an observational comparison, not a masking experiment.
Predictions shrink toward the species mean, so unusually small and unusually large fish, the ones that matter for size limits, are estimated least accurately.
Where the errors are
- By species: the largest gains are for species with a wide length range, such as Pike (14.48 to 8.10 cm). Garfish improves only marginally (8.61 vs 8.64 cm on 9 photos); five of the nine excluded test photos are also Garfish.
- By size: fish more than 10 cm below their species’ mean are overestimated by 8.1 cm on average, and fish more than 10 cm above it are underestimated by 7.0 cm. The smallest fish (under 27.7 cm, n = 53) have 5.96 cm MAE and 32.0% MAPE; the largest (94.3–111 cm, n = 15) have 9.14 cm MAE and 8.9% MAPE.
- Depth: relative depth cut errors on zoom-derived photos, but on uncontrolled photos it had no consistent effect: across 20 matched pairs it lowered the error in 10 (clearly in two, by 0.11 and 0.32 cm) and raised it in 10 (clearly in one, an unstable per-species fit), and for the selected DINOv2 pipeline it changed MAE by +0.004 cm (confidence interval crossing zero). This suggests that monocular depth tracks capture conditions rather than recovering metric distance.
Research explorer
The explorer compares predictions with measured lengths by dataset, model, split, species, and individual image, so every reported MAE traces back to the per-image predictions that produced it. The code is public; the photos, labels, and checkpoints are not distributed, so the explorer runs locally. These are offline results for the species and capture conditions in the data, not a general-purpose measuring tool.
What I took from it
- One photo does not remove scale ambiguity. Length is almost exact when capture geometry is fixed (0.12 cm), degrades when digital zoom varies the apparent size (2.01 cm for the same linear configuration, retrained), and is about a third better than the species average in ordinary angler photos.
- Find out where the accuracy comes from. Fixed geometry explains the near-exact controlled result. In uncontrolled photos the species alone gets the error to 8.76 cm and detected measurements to 7.60 cm; the whole image takes it to 5.53 cm.
- Know what the error is good for. About 5.5 cm is too large to judge a single fish against a minimum size limit; whether it is good enough for the length composition of a whole catch needs its own test.