This repository implements code to use the Maritime Urban Tracking (MUT) dataset. The dataset can be found at NIRD: link. The paper for the dataset will be found below.
Here is a gif of some of the data from the dataset, made using this library and a recording tool.
The red dots are the LiDAR points and the othe colored points are from the short baseline stereo camera.
The coordinate frames correspond to the LiDAR and camera frames.
![]()
Here is a gif where there is a moving target. The big green dots are the estimated GNSS locations.
![]()
We assume that OpenCV is installed. Since we will allow for the CUDA-installation, we will not write opencv-python as a requirement. Copy your local cv2 installtion into the venv if you are using this. You might find it here: /usr/lib/python3.10/dist-packages/cv2 and place it under venv/lib/python3.10/site-packages.
If you do not have OpenCV installed and you use python, you can install the CPU-version by pip install opencv-python==4.11.0.86.
We have tested this repository using Python 3.10.
The dataset can be found here: link. Note that you need to store both the compressed file and the resulting folder with all files, which is less than 1.6TB of data.
- Go to the dataset website linked above.
- Click on
Data Access/Table Of Contentsand click on the.tar.gz-file to download it. - After downloading, extract the contents, e.g., run
tar -xzvf Maritime-Urban-Tracking.tar.gz.
- Download:
wget https://data.archive.sigma2.no/dataset/6723ebbe-2505-4321-b94d-8a4e482cd6bb/download/Maritime-Urban-Tracking.tar.gz - Extract:
tar -xzvf Maritime-Urban-Tracking.tar.gz
- Download the repository.
- Consider using a venv like
python3 -m venv venvand source it,source venv/bin/activate. - Install our code using
pip install -e . - Ensure that OpenCV is installed, see pre-requisite above.
- Then change the
DATASET_FOLDERvariable in this file to the correct absolute path.
Once the the installation is done, the code can be used as a regular python library. You may run the examples, like this one, or use it in your own code similarly to how it is done in the examples: from maritime_urban_tracking.lidar import Lidar.
Example:
python3 examples/play_all_together.py
or run the debugger in vscode.
If you want to use tha dataset, but not in python, you may use the code in this repository as a specification of how to read the files. It would be nice if you then also make that interface available to others and make an issue in this repository so that we can link to it.
If you find the dataset useful in your research, please cite our paper. We will add a suggestion of how to cite the paper here once it is published.