Machine Vision Lab

One gaming PC, a lot of experiments.

This page shows how FishingROV's scallop detection models are built and tested. If something looks wrong or could be done better, we would like to hear about it.

A note from David: I'm not a machine vision specialist or a marine biologist. The results on this site are provisional and summarised, and would benefit from professional or public scrutiny. Full results are available on request.

The workflowA small, repeatable setup. No cloud cluster.

  1. Laptop + VS CodeCode, docs and AI-assisted engineering in one editor, from anywhere.
  2. Remote-SSHA secure SSH connection into the training machine. The laptop does no heavy lifting.
  3. Gaming PC, one RTX 3090A 24 GB consumer GPU trains every detector and classifier. Long jobs run in persistent sessions.
  4. Training dashboardLive progress, GPU load, pause and resume, review tools, and a model “zoo” that tracks lineage.
  5. Human reviewPeople check model output on survey frames. Nothing is accepted automatically.
  6. Experiment cardEvery run gets a written record: purpose, method, results, caveats and decision. Failures are kept.
  7. Open releaseUseful models go to Hugging Face, and code goes to GitHub.
  • Validation picks, test judges. Thresholds and settings are tuned on validation data only, then replayed once on held-out test data.
  • Station-disjoint splits. Test frames come from different survey stations from the training frames, so the models cannot memorise a site.
  • Negative results count. A rejected idea is written up just as carefully as a success, so nobody repeats it blind.
  • Leakage gets hunted. When test data was found to overlap with training data, the affected results were withdrawn and the datasets were rebuilt.

The current pipelineWhat the experiments converged on.

  • A two-stage cascade: detector → classifier A D-FINE-X transformer detector proposes every possible scallop, tuned for recall. A SwinV2 classifier then labels each crop king, queen, dead or not a scallop, and the “not a scallop” class works as a gate that rejects false proposals. Detector and classifier scores are combined by a fixed policy chosen on validation data only. Headline results are summarised on the home page. Full results are available on request.
  • Why not a large language or vision-language model? We tested several, both open and commercial. None came close to the trained cascade on the same images, and several produced confident boxes on empty seabed. Details are available on request. Purpose-built machine vision models are still the right tool for this job.

Experiments

The experiment register holds 46 cards from June to November 2026. They cover the choice of detector (YOLO, D-FINE and RF-DETR), the crop classifier (SwinV2 and a lightweight MobileNetV2), how detector and classifier scores are combined, small INT8 models for low-cost Rockchip chips, tests of open and commercial vision-language models, and corrections to our own evaluation, including data leakage and scores that left out empty seabed. Fifteen ideas were rejected, and those are written up as carefully as the ones that worked.

Detailed results are on hold until we recreate the work on our own images. Full results are available on request.