VIAME detects underwater species with pretrained models

VIAME is an open-source computer vision toolkit from Kitware, first developed with NOAA funding for the analysis of marine imagery. In Supervisely, the Apply VIAME app runs ten of its pretrained detection pipelines over an images project, HabCam seafloor models for scallops, skates and flatfish and SEFSC fish models, and adds bounding boxes with their confidences.

Apply VIAME poster: a seafloor photo with scallops on sand, each detected one in a bounding box
Labels
  • Bounding boxes
  • A confidence tag
Apps
Apply

Apps in the Supervisely Ecosystem

Every model in Supervisely comes as a Supervisely App: a module from the Ecosystem that plugs into the platform and runs on your own GPU, with no code to install. A Serve App puts the model behind the labeling tools, and where the model can be trained, a Train App fits it to your labeled project. All Apps work on the same projects, so you add a model, update it or swap it for another without changing anything else.

A toolkit that started with marine species

VIAME (Video and Image Analytics for Multiple Environments) covers object detection, object tracking, data annotation, multi-camera processing, size measurement, image enhancement, rapid model generation, query-based search, mosaicing and algorithm evaluation. It started with marine species analytics, funded by NOAA's Fisheries Strategic Initiative on Automated Image Analysis, and is now used as a general computer vision toolkit. Its pipeline framework connects C++ and Python nodes in a multi-threaded graph, and part of its algorithms run in desktop and web interfaces, with a public annotation archive at viame.kitware.com. The core is released under BSD-3.

Trained detectors ship as add-ons in the VIAME model zoo, each a set of .pipe pipeline files and weights for one survey or species group. The Supervisely app packages two of them.

Ten pipelines from two model add-ons

Add-onPipelines in the appWhat it detects
HabCam, from Kitware, the Coonamessett Farm Foundation and NOAA NEFSCdetector_habcam_test_yolo_only, _hrnet_only, _cfrnn_only, _multi_species_onlyAtlantic sea scallops, skates and flatfish, trained on color imagery taken looking straight down at the seafloor
SEFSC fish models v2.4, from NOAA SEFSC and KitwareSix detector_sefsc_bw_species_v2.4 pipelines: m and s versions, each at 0.5x, 1.0x and 2.0xAround 140 fish species, mostly from the Gulf of Mexico

The four HabCam pipelines differ in the detector behind them: a YOLO model, an HRNet model, a Cascade R-CNN model and a multi-species model, which makes them a quick way to compare detectors on the same seafloor images.

Running Apply VIAME on a project

  1. Start Apply VIAME from the Ecosystem or from the context menu of an images project or dataset. The app needs an agent with a GPU and works with images projects only.
  2. Select a VIAME pipeline.
  3. Set the confidence threshold, 0.25 by default; predictions below it are skipped.
  4. Choose where the results go: a new copy of the project, named <project> predicted unless you enter a name, or the existing project, where the predictions are added to the labels already there.
  5. Click Run.

Each detection becomes a bounding box whose class is the name the pipeline outputs, with a confidence tag holding its score. New classes are added to the project as they appear. Keep the new-project option if you want those tags: when predictions are appended to an existing project, the app adds the boxes without them.

When VIAME fits and what to do when it does not

VIAME pays off when your images look like the ones its models were trained on: downward-looking color seafloor imagery for HabCam, Gulf of Mexico fish for the SEFSC models. Run two or three pipelines into separate copies of a sample dataset and compare the boxes before you label a whole survey with one.

For other species or camera setups, treat the output as model-assisted labeling: correct the boxes in the image labeling toolbox and train a detector of your own classes, such as Ultralytics YOLO or RT-DETRv2, on them. To find a species no pretrained model knows, a text-prompted detector such as Grounding DINO or YOLOE gives a first draft without any training.

Frequently asked questions.

What does VIAME stand for?

Video and Image Analytics for Multiple Environments, as its GitHub repository names it. The toolkit was first built for marine species analytics with NOAA funding and is now used for computer vision in general.

Which VIAME pipeline should I pick?

A HabCam pipeline for downward-looking color images of the seafloor with scallops, skates or flatfish, and a SEFSC pipeline for fish. When in doubt, run several into separate copies of a small dataset and compare the results.

Can I train VIAME models in Supervisely?

No. Apply VIAME runs the pretrained pipelines only. Correct its boxes and train a detector of your own classes, such as Ultralytics YOLO, in the model training apps.

Train and serve models on your own data.

Label a project in a free account, train a model on it from the browser and deploy it on your own GPU. Or book a demo to run Supervisely on your servers.