URC - IPI - Ghent University, IMEC
This is the official implementation of the paper: "HELIOS: Hyperspectral Hindsight OSTracker". Our submission achieved the 3rd place in the Hyperspectral object tracking challenge 2023 which was part of the 13th edition of the WHISPERS conference.
Links to our paper: IEEEXplore UGent library
Our project is an extension of OSTrack - "Joint Feature Learning and Relation Modeling for Tracking: A One-Stream Framework": code paper
![]() |
![]() |
![]() |
|---|---|---|
![]() |
![]() |
![]() |
In this paper we present our video object tracking algorithm HELIOS (HyperspEctraL hIndsight OStracker) designed for snapshot mosaic hyperspectral cameras, as part of our submission to the Third Hyperspectral Object Tracking Challenge 2023. HELIOS is based on a high-performance RGB-based one-stream tracking framework for joint feature learning and relational modeling based on self-attention operators. We further extend this framework to leverage information in the spectral domain through a new band selection algorithm and in the temporal domain through forward-backward consistency constraints. We obtained an averaged AUC of 0.634 and DP@20 pixels score of 0.846 on the validation dataset, thereby outperforming several published SOTA hyperspectral object tracking algorithms.
Forward backward framework:
Band selection framework:
Install python dependencies:
pip install -r requirements.txtgit submodule init
git submodule update
cd ext/OSTrack
bash install.sh
pip install thop
mkdir pretrained_models
mkdir -p output/checkpoints/train/ostrack/vitb_384_mae_ce_32x4_ep300Follow the instructions in the repository to download the weights of the pretrained models and put them in the directories created in the previous 2 steps
Configure paths in the project:
python tracking/create_default_local_file.py --workspace_dir . --data_dir ./data --save_dir ./outputThe --data_dir isn't important for us
Test the setup by running it on one of the sequences from the hyperspectral object tracking datasets:
python tracking/video_demo.py ostrack vitb_384_mae_ce_32x4_ep300 <hot 2023 path>/training/HSI-VIS-FalseColor/automobile5 --optional_box 15 174 10 10 --save_resultsUse the run.py script to run the HELIOS algorithm on an arbitrary hyperspectral input sequence.
Example usage:
python run.py /scratch/datasets/hot_2023/validation/HSI-VIS/coin --init_bbox 96 83 16 16 --camera_type HSI-VIS --scene_name coinSee --help for more details on script usage.
Notebooks:
Notebooks contain some of our experiments. Final challenge submission was generated using the notebooks/11.4_backward_forward-neighbours-dim_reduction.ipynb file. notebooks/11.5_final_model_fixed.ipynb and files in the src folder fix a bug we spotted in our implementation after the challange has finished.
src:
src directory contains implementation of our paper and helper functions for managing the dataset
eval_2023.py:
The eval_2023.py script can be used to visualize the model predictions
run.py: Runs the HELIOS algorithm on an arbitrary hyperspectral input sequence.
outputs:
Outputs directory contains predictions of our model. Notably, outputs/model_predictions/forward-backward-neighbours_v1-hsi-xgboost-falsecolor-mix-09-fixed contains reproduced predictions of our model on the validation dataset.
@INPROCEEDINGS{10430711,
author={Muszyński, Rafał and Luong, Hiep},
booktitle={2023 13th Workshop on Hyperspectral Imaging and Signal Processing: Evolution in Remote Sensing (WHISPERS)},
title={Helios: Hyperspectral Hindsight Ostracker},
year={2023},
volume={},
number={},
pages={1-5},
keywords={Representation learning;Signal processing algorithms;Signal processing;Data models;Object tracking;Spectral analysis;Hyperspectral imaging;hyperspectral video;object tracking;dimensionality reduction},
doi={10.1109/WHISPERS61460.2023.10430711}}
MIT License





