Repository navigation
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.