Skip to content

Releases

Version 1.1.0

Choose a tag to compare

@davewalker5 davewalker5 released this 02 Nov 15:08
9b43d1a

Tracking Analysis and Comparison

Version 1.1.0 introduces tracking analysis and comparison, extending the application beyond producing annotated videos to examining, measuring and comparing the results of different tracking methods.

Both conventional computer vision (CV) and SAM 2 now produce persistent, frame-by-frame tracking data. A new Analysis interface allows trajectories to be visualised, track continuity to be inspected, and results from the two tracking approaches to be compared directly.

The motivation came from practical experiments with underwater footage from the Maldives, where conventional CV and SAM 2 demonstrated notably different behaviour when tracking animals that changed shape or orientation — particularly rolling fish and swimming manta rays.

Rather than attempting to eliminate these differences, FishTrack can now help investigate them.

What's New

Tracking Analysis

  • New Analysis interface for inspecting saved tracking results
  • Visualisation of individual animal trajectories, including start and end positions
  • Frame-by-frame inspection of reported positions and tracking status
  • Track statistics including duration, observation coverage, interruptions, bounding-box area, displacement and path length
  • Detection of reported tracking events and possible discontinuities, with configurable thresholds

Tracking Comparison

  • Load results from two processing runs and compare their trajectories and statistics
  • Synchronized playback and source-frame inspection
  • Explicit selection of corresponding animal tracks from each run
  • Visual indication of tracking continuity, making differences between conventional CV and SAM 2 easier to identify
  • Compatibility checks to ensure comparisons use the same source footage and processing timeline

Persistent Tracking Data

  • Tracking observations are captured during normal video processing, without requiring a second tracking pass
  • Results are saved as structured JSON files alongside the processed videos
  • Saved results can be reopened and analysed without loading tracking models or reprocessing footage
  • Source-video fingerprints help identify matching footage independently of filenames

Data Export

  • CSV export for further analysis using spreadsheets, Python or other tools
  • JSON export preserving processing metadata, observations, statistics and tracking events
  • Consistent source-frame coordinates and timestamps across tracking backends
  • Existing output files are protected against accidental overwriting

Interpreting the Results

Tracking measurements describe the output of the tracking algorithms, not necessarily the actual movement of an animal.

Positions and distances are measured in source-video pixels and may be affected by camera movement, perspective and tracking errors. Similarly, a continuous track does not necessarily indicate accurate tracking.

The application deliberately avoids declaring one tracking method the winner -the differences between them are part of the investigation.

Version 1.0.0

Choose a tag to compare

@davewalker5 davewalker5 released this 01 Nov 09:15

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.