Case study
Salmon Feed Pellet Counting at the Edge on NVIDIA Jetson
- Client: A land-based salmon farm
- Industry: Aquaculture
- AI capability: Computer Vision

- mAP50 on the held-out test set
- 0.81
- F1 score on the held-out test set
- 0.73
- Real-time inference on the edge device (PyTorch model)
- ~14 FPS
The challenge
Tiny pellets in turbulent water, next to particles that look like feed
Feeding salmon well means giving them as much as they will eat without overfeeding, which wastes expensive feed and affects water quality. The camera looks at turbulent outflow water full of visual noise, the pellets are only 1.5 to 12 mm across, and fish excrement and other particles look much like feed. The system also had to run unattended on low-power hardware next to the tank, without depending on a cloud connection.
What we built
Detect, track and count on a Jetson beside the tank
Each pellet gets an ID and is counted once as it crosses the counting region.
- Stage 1
Data and annotation
We annotated pellets frame by frame in the client's underwater outflow videos in CVAT, keeping each pellet's movement consistent across successive frames. - Stage 2
Detection model
We trained YOLO detectors in several rounds (YOLOv11 first, YOLO26 later), added synthetic augmented training data and ran Weights & Biases hyper-parameter sweeps. Doubling annotations from 500 to 1,000 images lifted mAP50 from 0.36 to 0.63 at 0.3 confidence. - Stage 3
Tracking and counting
Multi-object tracking gives each pellet an ID, and a defined counting region counts each pellet once as it crosses, so pellets are not double-counted across frames. - Stage 4
Edge deployment
The model runs on an NVIDIA Jetson with the camera attached, as systemd services that start automatically and run unattended. TensorRT and multiprocessing variants were benchmarked. - Stage 5
Monitoring
A FastAPI service exports metrics to Prometheus. Grafana shows the live camera stream, an exponentially smoothed pellet count, pellet distribution and model FPS, and frames with detections are saved to cloud storage.
Tracking view: each pellet gets an ID, and it is counted once as it crosses the counting region.
The impact
A live pellet count the farm can feed by
- mAP50 0.81 and F1 0.73 on held-out data
- About 14 FPS on the edge device
- Runs unattended as auto-starting services
The system is deployed on an NVIDIA Jetson Orin NX at the client's site, with camera tuning, an auto-starting dashboard and cloud archiving of detected frames. The best model reached mAP50 0.81 and F1 0.73 on the held-out test set and runs at about 14 FPS on the edge device. The farm gets a live, smoothed pellet count on a Grafana dashboard: the signal it needs to tune feeding.
Project showcase
More from the project
The Grafana dashboard: pellet counts over rolling windows and the exponentially smoothed count over time.
Keep exploring
Related case studies
Real Estate & PropTechComputer VisionAI Property Image Intelligence for Listing Optimization & Compliance
PropTech founders and real estate leaders understand that property photos are the most critical asset in closing deals. PropTexx needed an automated way to enforce strict listing compliance and extract valuable insights from millions of unstructured real estate images without slow manual review.
- Property features tagged automatically
- 50+
- Compliance violation types detected
- 15+
Retail & E-commerceComputer VisionSneaker Visual Retrieval System
AlwaysLegit needed a way for their team at expos to instantly identify shoes from photos and match them against a massive 150K+ SKU database, often in challenging real-world lighting and backgrounds.
- SKUs searchable from a single photo
- 150K+
- Retrieval time per query
- <1s
Sports & MediaComputer VisionSoccer Match Analytics & Insights
The aim of this project is to give soccer analytics of matches being played. The goal is to build an AI tool that takes as input a video of a soccer match and then analyzes each player and extracts different analytics. This included: 1. Player and ball detection, 2. Player and ball tracking, 3. Player re-identification, 4. Field detection, 5. Event detection including passes, intercepts, goals etc.
Multi-stage CV pipeline. Real-time event detection. Player re-identification.
Read the case study
Book a strategy session
Talk to an AI engineer about your project
Tell us what you want to automate. The first call is a 30-minute working session with an engineer, not a sales pitch.
- Send the form, it takes 2 minutes
- We reply within 1 business day, under NDA if you need it
- A 30-minute call to scope feasibility and next steps