Automated morphometry and weight prediction of juvenile Chinook Salmon leveraging open-source deep learning models

This paper presents an automated, open-source deep learning framework using the Segment Anything Model (SAM) to predict the weight of juvenile Chinook Salmon from 2D images with high accuracy (R²=0.99), thereby minimizing the need for physical handling of threatened fish populations.

Knight, B., Jeffres, C.

Published 2026-03-12
📖 4 min read☕ Coffee break read
⚕️

This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you are a fish biologist trying to check the health of a tiny, endangered baby salmon. Traditionally, to measure its length and guess its weight, you'd have to scoop it out of the water, lay it on a ruler, weigh it on a scale, and then put it back. This is stressful for the fish (like a human getting a check-up while being held down) and takes a long time.

This paper introduces a new, "hands-free" way to do this using a digital camera and a smart computer program. Think of it as giving the fish a "digital check-up" without ever touching it.

Here is how the system works, broken down into simple steps:

1. The Setup: A Fishy Photo Booth

Instead of a net and a scale, the researchers built a simple, inexpensive underwater viewing box. It's like a fishy photo booth.

  • The baby salmon swims into a clear chamber filled with water.
  • There is a grid on the back (like graph paper) that helps the computer know the size of things.
  • A camera snaps a picture of the fish from the side.
  • The fish swims right back out, never having left the water or been stressed.

2. The "Magic Eye": Segment Anything Model (SAM)

Once the photo is taken, the computer needs to find the fish in the picture. The researchers used a super-smart, free AI tool called SAM (Segment Anything Model).

  • The Analogy: Imagine you have a photo of a messy room with a toy car in it. You draw a rough box around the car with your finger. SAM is like a magical highlighter that instantly knows, "Okay, you want the car," and perfectly traces the outline of the car, ignoring the rest of the room.
  • In this case, the user just draws a box around the fish and tells the computer which way the fish is facing. The AI then draws a perfect outline around the fish's body.

3. The "Fin-Trimming" Trick

Fish have fins that stick up, down, or sideways. If you try to guess a fish's weight by looking at its outline, a fin sticking up makes the fish look taller and heavier than it really is.

  • The Analogy: Imagine trying to guess the weight of a person wearing a giant, fluffy hat. If you measure them with the hat, you'll think they are huge. You need to take the hat off to get the real measurement.
  • The computer automatically finds the fins (tail, back fin, belly fin, etc.) and "erases" them from the outline. It creates a smooth, fin-less shape that represents the actual body of the fish.

4. The "Balloon" Math: Guessing the Weight

Now that the computer has a clean outline of the fish, how does it know the weight?

  • The Analogy: Imagine the fish is a 3D balloon. If you take a 2D photo of the balloon, you can see its width and height. If you assume the balloon is round all the way around (like a football), you can mathematically guess how much air is inside (volume). Since fish are mostly water, their volume is directly related to their weight.
  • The computer measures the fish's "surface area" (how much skin it has in the photo) and its height. It uses a formula to pretend the fish is an oval ball (an ellipsoid).
  • The Result: By calculating the volume of this imaginary 3D ball, the computer can predict the weight with amazing accuracy.

5. The Results: Spot On!

The researchers tested this on 149 baby salmon.

  • The Accuracy: The computer's guess was incredibly close to the real weight. On average, it was only off by 0.16 grams (that's less than the weight of a single grape!).
  • The Efficiency: It did this without ever stressing the fish out or requiring a human to spend hours measuring every single point on the fish.

Why Does This Matter?

  • Saving the Fish: Endangered fish are fragile. This method lets scientists gather critical data without hurting or stressing the animals.
  • Speed: It turns a slow, manual process into an automated one.
  • Future Potential: Because the software is open-source (free for anyone to use), other scientists can adapt this "fishy photo booth" for other types of fish, helping to protect ecosystems all over the world.

In short, this paper is about teaching a computer to look at a photo of a fish, ignore the wiggly fins, imagine the fish as a 3D balloon, and tell you exactly how much it weighs—all while the fish stays happy and swimming in the water.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →