HeatSeek is a command-line tool for downloading thermal datasets, preprocessing video, training YOLO models, and tracking objects in thermal imagery. The current focus of the package is on thermal imagery of bats.
First, clone the repository:
git clone ...
cd heatseekIt is recommended to build a conda environment for correct dependencies:
conda env create -f environment.ymlThen install the package:
pip install . --no-build-isolationAlternatively, for development:
pip install -e . --no-build-isolationheatseek train \
--data-yaml path/to/data.yaml \
--weights yolov8s.pt \
--epochs 400 \
--batch 16 \
--imgsz 640heatseek download --api-key API_KEY --workspace WORKSPACE --project PROJECT_NAME --version VERSION_NUM --nc CLASS_NUM --names CLASS_NAMEheatseek train \
--data-yaml path/to/data.yaml \
--weights yolov11s.pt \
--epochs 400 \
--batch 16 \
--imgsz 640heatseek preprocess \
--input raw_video.mp4 \
--output bg_reduced.mp4 Removes background using thermal contrast thresholding.
heatseek track \
--input video.mp4 \
--output tracks.json \
--weights yolov8.ptRuns YOLO-based detection and object tracking.
heatseek pretrack \
--input raw.mp4 \
--preprocessed bg_reduced.mp4 \
--output tracks.mp4 \
--weights yolov8.pt Runs background reduction then tracking in one go.
heatseek annotate \
--input raw.mp4 /path/to/data/folder\Click to annotate points for density data. Press 's' to save and 'n' to skip
Creates annotations of density data to train density count estimator models.
Ensure you have the following installed via:
pip install -r requirements.txtheatseek/
├── cli.py # Entry point
├── data_utils.py # Dataset download and YAML writing
├── train.py # Training logic
├── preprocess.py # Background reduction
├── detect_track.py # Detection and tracking
Example images and datasets: https://universe.roboflow.com/goingbatty/
MIT License
Copyright (c) 2025 SDZWA
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


