Skip to content
LexDataLexData
PlatformIndustriesCustomers
DocsThe Field GuideBlogWhy models drift
AboutCareersSecurityContact
Log inStart now

// AGRICULTURE

Fish Size Measurement

Fish Size Measurement. What it takes to run it.

The size band read off the box against a scale painted in the channel, and the exact length from snout to tail when the price turns on the boundary.

Start with your footageBook a demo →All of agriculture →

// 01 · The question

“Which size band does this fish belong in, and how long is it exactly when the price turns on the boundary?”

// 02 · Why it is hard

A box is in pixels until a scale in the same frame converts it, and the conversion is the whole job. A camera bumped a few centimetres by a wash-down or a worked-loose bolt moves every fish's reading by the same fraction, and nothing about any single frame looks wrong.

// 03 · What the labels have to be

Bounding box + keypoints

Decided before the first frame

A box's own length overstates a fish that crosses the channel at an angle or holds its tail flexed, which is fine for a size band with wide margins. A market that pays by the gram at the boundary needs the length measured along the fish, and only two points, the snout and the tail fork, give that.

This is the decision that is expensive to reverse. The geometry has to match what the answer contains, and finding out it does not means labelling the set a second time.

// 03a · What it finds

Every fish crossing the grading channel

a box on each fish from the camera fixed over the flume

The size band

the box's own length read against the scale painted on the channel floor, converted to the band the farm set

The exact length

the snout and the tail fork placed as two points, so a fish crossing at an angle or with a flexed tail still measures along the fish rather than along the frame

A fish the channel has not seen before

a length outside what this channel's fish run, held for the grader rather than sorted either way

// 03b · What it checks

  1. 01

    The band against the farm's own thresholds, not a generic length table

  2. 02

    The scale read fresh from the painted marker on every frame, so a camera that has shifted does not move every reading by the same quiet fraction

  3. 03

    A boundary fish against what the grader's own board already catches, before anything sorts on the camera's reading alone

  4. 04

    A fish hidden by another or by a splash across the marker, held for the grader's net rather than guessed

// 03c · What the site provides

  • The camera already over the flume or channel; no new sensor
  • A marker of known length painted in the camera's view, since a box's pixels become a length only through that scale
  • Frames from this channel's own fish, water and light, not a stock aquaculture photograph
  • The farm's own size bands or the market's boundary weight, in the grader's own words

// 04 · How we run it

Three parts of one loop, on this job.

LexAnnotate

Field Precision

Annotate crops, equipment, obstacles, and pathways with polygons, polylines, and semantic segmentation. Tag environmental factors like dust, shadows, and occlusions. 80k+ image annotations in production deployments.

LexInsight

Yield Intelligence

Transform plant-level detections into field-level intelligence. Map disease patterns across zones against a healthy baseline the grower names, and count what the camera sees to estimate yield.

LexAlert

Navigation Alerts

Monitor autonomous navigation models against seasonal drift. Retrain as fields change to keep navigation reliable through the seasons.

How the loop fits together →

// 05 · What breaks it after launch

Covariate shift

A camera moved

→Covariate shift →

The camera sits on a bracket above moving water, within reach of a wash-down or a re-tensioned bolt, and a lower or tilted mount changes what a fixed length means in pixels without changing a single fish.

It is not the only one that can get this use case, it is the one that usually gets it first. All ten conditions.

// 06 · In agriculture

GPS-Denied Autonomy

Full write-up ↓Every case study →

The Challenge

Unreliable GPS under tree canopies and low visibility. Models failed in unstructured, obstacle-heavy terrains.

Our Execution

Annotated thousands of images with polygons and polylines. Tagged diverse environmental factors like dust, shadows, and occlusions.

The Result

Enhanced autonomy in GPS-denied environments. Faster deployment of AI-powered navigation.

80k+

Image annotations in production

// 06a · Questions we get asked

Does this replace the grader at the end of the channel?

No. It gives a size band and, where the tolerance demands it, a length for every fish that crosses the camera. The grader keeps the net and the board, and a fish the model will not call either way still goes to that board.

How does a camera know a real length, not just how many pixels a fish covers?

From a marker of known length painted on the channel floor, in view of the camera. Every frame reads the marker's own pixel length first, and that reading converts the fish's box or its two points into a real length.

What happens when the camera gets bumped?

A lower or raised mount moves the marker's own pixel length the same way it moves the fish's, so the conversion corrects itself on the next frame. A tilt is the exception: it stretches one end of the channel more than the other, and the fix is re-verifying the scale at both ends and relabeling a short window from the new framing.

What about two fish overlapping or a splash across the marker?

Held rather than sorted. Those frames come back to a person, and once enough of them cross the project's threshold a new version trains on this channel's own overlaps and splashes.

Read next

Fish size measurement on a grading line, the full walk-through from the box to the keypoints →Turning pixels into millimetres with a reference object in the frame, the general version of this page's scale →The same keypoints argument on animals in a pen, where holding an identity is the hard part instead →What a bumped or re-tensioned mount does to a model that measures rather than just detects →
Start with your footageBook a demo →

// 07 · Also in agriculture

Crop Health & Disease Detection→Weed Identification & Classification→Autonomous Navigation→Yield Estimation→Field Boundary Segmentation→Livestock Monitoring→Produce Sorting & Grading→All forty-one→
Crop Health & Disease DetectionWeed Identification & ClassificationAutonomous NavigationYield EstimationField Boundary SegmentationLivestock MonitoringProduce Sorting & GradingAll forty-one →

Send us a week of this footage. We’ll show you what comes back.

Start with your footageBook a demo →
LexData
LexData

Product

  • Platform
  • Industries
  • Use cases

Resources

  • Docs
  • The Field Guide
  • Blog
  • Why models drift

Industries

  • Energy & utilities
  • Oil & gas
  • Agriculture
  • Manufacturing
  • Insurance
  • Retail
  • Robotics

Company

  • About
  • Customers
  • Careers
  • Contact

Trust

  • Security
  • Privacy
  • Terms

Stay updated

What we learn running vision models in production.

See everything.
Miss nothing.

Stay updated

What we learn running vision models in production.

Terms of use & Privacy policy

© 2026 LexData Labs · All rights reserved