Counting Fish in Prince William Sound for Scientific Research

Accurately detecting and counting fish to aid in weather research


Prince William Sound Science Center needs to detect and count four classes of fish moving upstream and downstream in Prince William Sound. The data collected from the fish count will be used for scientific research on weather patterns. The current system in place is inefficient and inaccurate, resulting in unreliable data.

Key Requirements:

  • Accurately count the number of fish going upstream and downstream along with their breed
  • Send the data over cloud for further analysis
  • Deploy the system on Jetson Nano
  • Use underwater ZED Cameras
  • Grab and save the frame when fish crosses
  • Achieve a desired FPS of 10


To achieve accurate fish counting, the system uses deep learning to train the model on labelled images of the four classes of fish. The system runs the model on the view of the ZED 2 camera, and the tracker tracks the fish across frames. The analytics module performs counting and line crossing detection and sends data to the communication buffer, which sends data to cloud storage for further analysis.


The solution application consists of five parts:

  1. The core application: responsible for demuxing the video input and creating a frame buffer.
  2. The tracker: DeepSORT tracker tracks the fish.
  3. Analytics: the module that performs counting and line crossing detection.
  4. Image Saving: component responsible for saving the frames with the fish count and metadata.
  5. Communication Buffer: responsible for sending the output as JSON for post-processing.

The Results

Tech Stack

Backend Application: C,C++
Post Processing: Python
Message Streams: Kafka

Ready to reduce your technology cost?

case studies

See Our Case Studies

Contact us

Partner with Nyx Wolves

As an experienced provider of AI and IoT software solutions, Nyx Wolves is committed to driving your digital transformation journey. 

Your benefits:

What happens next?

We Schedule a call at your convenience 


We do a discovery and consulting meting 


We prepare a proposal 

Schedule a Free Consultation