Skip to content

Version 1.0.0

Choose a tag to compare

@davewalker5 davewalker5 released this 01 Nov 09:15
· 9 commits to main since this release

This is the first public release of FishTrack, an experimental, open-source Python desktop application for detecting, segmenting and tracking fish in recorded underwater video.

FishTrack combines AI-based techniques with conventional computer vision to explore the challenges of following individual fish through complex underwater environments.

Background

FishTrack grew out of a trip to the Maldives that produced around 50 GB of GoPro footage. Following the development of ReefFrame, which dehazes, enhances and stabilises underwater video, the natural next step was to investigate whether computer vision could be used to locate individual fish and follow their movements through the footage.

Underwater tracking presents some interesting challenges: moving cameras, complex coral backgrounds, changing illumination, suspended particles and fish that frequently change direction or disappear behind obstacles.

FishTrack provides an experimental environment for exploring different approaches to these problems.

Features

Fish Detection and Selection

  • Grounding DINO integration for text-guided detection of candidate fish regions
  • Manual region-of-interest (ROI) selection for identifying fish to track
  • Review and adjustment of candidate regions before tracking begins
  • Support for motion-based acquisition using conventional computer-vision techniques

Fish Tracking and Segmentation

  • Conventional computer vision: Tracking using motion analysis and traditional image-processing techniques
  • SAM 2: AI-based video segmentation and tracking of selected objects
  • Pixel-level segmentation masks generated by SAM 2
  • Alternative tracking approaches that can be explored and compared using the same underwater footage

Desktop Interface and Processing

  • Graphical interface for loading recorded underwater video and configuring processing options
  • Interactive selection and review of fish regions
  • Configurable detection and tracking methods
  • Generation of annotated MP4 output without modifying the original source video
  • Diagnostic outputs and configuration options to support experimentation and troubleshooting

Documentation

The initial release includes a comprehensive GitHub Wiki, covering:

  • Installation and development environment
  • Processing a video with FishTrack
  • Finding fish using automatic and manual methods
  • Tracking fish using conventional computer vision and SAM 2
  • Settings and configuration
  • Diagnostics and troubleshooting
  • Architecture and processing pipeline

Limitations

FishTrack is an experimental tool for exploration and visual annotation, not a validated scientific instrument.

Detection, segmentation and tracking results may be inaccurate, particularly when fish overlap, change appearance, become obscured or move through visually complex environments.

The application does not provide validated species identification, population estimates, speed measurements or behavioural analysis. Users should independently review tracking results before drawing conclusions from them.

Getting Started

See the FishTrack Wiki for installation instructions, a step-by-step processing guide and technical documentation.

Issues, feedback and suggestions for improvements are welcome via GitHub Issues.