YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
- π AquaPulse: Robust Computer Vision, BotSORT Tracking, and Stochastic Uncertainty Estimation for Aquatic Ecosystems
- A new release for Linux is out - check out here.
- π Key Features & Breakthrough Capabilities
- π¦ Installation & Releases
- π Repository Architecture & File Inventory
- π¬ System Telemetry & Output Session Structure
- π Complete Project Documentation
- π Conclusion
- π€ Contributing
- π License
- A new release for Linux is out - check out here.
π AquaPulse: Robust Computer Vision, BotSORT Tracking, and Stochastic Uncertainty Estimation for Aquatic Ecosystems
A new release for Linux is out - check out here.
AquaPulse is an enterprise-grade, non-invasive artificial intelligence and computer vision framework for real-time aquatic ecosystem telemetry, multi-species fish detection, BotSORT target tracking, stochastic population estimation, and automated Cloud LaTeX scientific report generation.
Designed for turbid underwater environments (such as the Spreewald river network), AquaPulse fuses deep neural computer vision with stochastic nonlinear data assimilation (Ensemble Kalman Filtering), local LLM intelligence, a cross-platform Flutter Android Mobile Application, a containerized Docker Hub distribution, and an automated Windows installation suite.
π Key Features & Breakthrough Capabilities
1. ποΈ Multi-Model YOLO Neural Ensemble & Vision Engine
- Prioritized Multi-Weight Ensemble: Simultaneously initializes and runs optimized YOLO weights (
fish_model.pt,best.pt,meduim.pt,small.pt) with fallback priority loading. - Adaptive Contrast Enhancement: Employs dynamic CLAHE (Contrast Limited Adaptive Histogram Equalization) color restoration in LAB color space for low-visibility, turbid underwater video frames.
- Cyberpunk Interactive 4-Pane HUD Dashboard: Native OpenCV window featuring interactive click-and-drag panel divider splitters, target locking/unlocking, live species reticles, and auditory/visual cues.
2. π― BotSORT Multi-Object Tracking & Ecological Census
- Persistent Track Management: Integrated BotSORT (Camera Motion Compensation + Extended Kalman Filtering + Re-ID) and ByteTrack for frame-to-frame specimen trajectory tracking without double-counting.
- Dynamic Species Taxonomy: Live asynchronous REST integration with the GBIF (Global Biodiversity Information Facility) API to fetch species taxonomies and high-resolution reference images on specimen target lock.
3. π Stochastic Ensemble Kalman Filter (EnKF) Data Assimilation
- Lotka-Volterra Population Dynamics: Models prey-predator interaction dynamics governed by: $$\frac{dX}{dt} = \alpha X - \beta X Y + \sigma_X dW_X$$ $$\frac{dY}{dt} = \delta X Y - \gamma Y + \sigma_Y dW_Y$$
- 50-Member Monte Carlo Assimilation: Continuously updates state priors with live YOLO visual detections, calculating real-time state error covariances, adaptive Kalman gain matrices, and stochastic extinction risk probabilities.
- 20-Plot Analytical Metrics Engine: Dynamically renders real-time telemetry metrics including:
- Shannon Diversity Index ($H' = -\sum p_i \ln p_i$) & Pielou's Evenness Metric ($J' = H' / \ln S$)
- Rayleigh Swimmer Velocity Magnitude Distributions
- 2D Spatial Centroid Heatmaps & Species Co-occurrence Matrices
- Population Growth Rate Phase Plots & Extinction Risk Trajectories
4. π€ Local AI Dialogue Engine (Pauly Assistant)
- Ollama Llama-3 Integration: Connects to a local
llama3LLM via LangChain / Ollama REST endpoints for live marine ecology analysis and situational breakdown. - Multilingual Voice Speech Engine: Integrated TTS system (
pyttsx3) offering vocal telemetry briefings.
5. π Native LaTeX PDF Exporter
- Automated Scientific Reports: Generates per-video LaTeX source code (
.tex) with bioacoustic equations and BotSORT tables, compiling publication-grade PDF reports via Cloud LaTeX Compiler API (latex.online).
π¦ Installation & Releases
AquaPulse provides multi-platform installation options: a pre-built containerized Docker Hub distribution, standalone Windows releases & automated setup installer, cross-platform Android mobile app release (.apk), and developer source installation.
π³ 1. Docker Installation (Recommended Containerized Deployment)
The official pre-built image is published on Docker Hub:
docker pull parsabe99/aquapulse-ai:latest
Run Container with NVIDIA GPU Acceleration (Recommended)
docker run --gpus all -it --rm \
-v /path/to/videos:/app/data \
-v /path/to/sessions:/app/video_analysis_sessions \
-e HEADLESS=1 \
parsabe99/aquapulse-ai:latest --video /app/data/underwater_stream.mp4
Run Container in Headless / CPU Mode
docker run -it --rm \
-v /path/to/videos:/app/data \
-v /path/to/sessions:/app/video_analysis_sessions \
parsabe99/aquapulse-ai:latest --video /app/data/underwater_stream.mp4 --headless
πͺ 2. Windows Installation & Releases
Pre-compiled production releases and automated setup installers for Windows:
First, go to the releases section and download the .exe Windows file.
- AquaPulse Setup Installer:
AquaPulse_Setup.exe - Standalone Application Folder:
AquaPulse_App/
Execute AquaPulse_Setup.exe to automatically install AquaPulse and its required dependencies on Windows.
π± 3. Android Mobile Application (.apk) Release
Download the pre-built Flutter Android release .apk directly from the Releases section to install and run the telemetry application on mobile devices.
π» 4. Running from Source (Developer Mode)
Activate Virtual Environment:
c:\Users\parsa\Desktop\Code\venv\Scripts\Activate.ps1Launch the Master AI Vision Telemetry System:
python "3 - AI process\main.py"
π Repository Architecture & File Inventory
C:\Users\parsa\Desktop\Code\
βββ Dockerfile # Production PyTorch CUDA + LaTeX Docker container build recipe
βββ App/ # Cross-Platform Flutter Android Mobile Application (.apk)
βββ 0 - Preprocessing/ # Raw Video & Image Preprocessing Pipeline
βββ 1 - Training/ # YOLO model training, DANN domain adaptation, BNN
βββ 2 - Evaluation/ # Validation scripts, precision-recall & mAP evaluation
βββ 3 - AI process/ # Core AquaPulse AI Telemetry Engine
β βββ main.py # Master entry point & 4-Pane interactive OpenCV HUD
β βββ mod_00_config_and_assets.py # Hardware GPU/CPU detection & asset management
β βββ mod_01_eco_census.py # Species census enumeration & telemetry tracking
β βββ mod_02_stochastic_enkf.py # 50-member Ensemble Kalman Filter engine
β βββ mod_03_chart_renderer.py # Real-time 20-plot Matplotlib rendering engine
β βββ mod_04_vision_engine.py # Multi-model YOLO ensemble & CLAHE dehazing
β βββ mod_05_dialogue_and_ollama.py # Ollama Llama3 LLM assistant & pyttsx3 voice engine
β βββ mod_06_ui_dashboard.py # Dashboard HUD layout & interactive prompt dialogs
β βββ mod_07_pdf_exporter.py # Native LaTeX template engine & pdflatex compiler
β βββ manual_botsort.py # BotSORT / ByteTrack target tracking module
β βββ models/ # YOLO Neural Weights (fish_model.pt, best.pt, etc.)
β βββ johnny.gif # Animated telemetry UI mascot asset
βββ 4 - Documentation/ # Complete system workflow HTML & Word technical reports
π¬ System Telemetry & Output Session Structure
Each video analysis session generates an isolated, timestamped output bundle under video_analysis_sessions/:
video_analysis_sessions/<video_name>_<timestamp>/
βββ output/ # Processed MP4 video with target reticles & EnKF HUD overlays
βββ csv/ # Raw specimen counts and track data per frame
βββ plots/ # 20 high-resolution analytical PNG telemetry plots
βββ analysis/ # Ollama AI narrative report (.md), generated .tex file, and compiled PDF report
π Complete Project Documentation
For exhaustive mathematical details, system design diagrams, and empirical results, view:
- Word Document Technical Report:
4 - Documentation/AquaPulse_Preprocessing_and_AI_Process_Report.docx - Interactive HTML Workflow & Architecture:
4 - Documentation/AquaPulse_System_Workflow_and_Structure.html - Markdown Architecture & Reference Specification:
4 - Documentation/AquaPulse_Workflow_and_Structure.md
π Conclusion
AquaPulse bridges multi-model YOLO neural vision, BotSORT multi-object tracking, Ensemble Kalman Filtering stochastic data assimilation, and local generative AI into an end-to-end ecosystem telemetry platform. By eliminating manual fish counting and enabling non-invasive automated observation in turbid aquatic environments, AquaPulse provides researchers, marine biologists, and environmental agencies with real-time ecological safety monitoring, extinction risk forecasting, and publication-ready LaTeX scientific reports.
π€ Contributing
Contributions, bug reports, and feature requests are welcome! To contribute:
- Fork the Repository on GitHub.
- Create a Feature Branch:
git checkout -b feature/amazing-feature. - Commit your Changes:
git commit -m 'Add amazing feature'. - Push to Branch:
git push origin feature/amazing-feature. - Open a Pull Request describing your changes.
Please ensure all tests pass (flutter test for mobile app, validation scripts for computer vision pipeline) before submitting PRs.
π License
Distributed under the MIT License. See LICENSE for more information.
Copyright Β© 2026 AquaPulse AI Team. All Rights Reserved.