Skip to content

This repository contains the interface to the Maritime Urban Tracking (MUT) dataset. We have used an autonomous ferry prototype to acquire the data. We suggest reading the paper for more information.

License

Notifications You must be signed in to change notification settings

NTNU-Autosight/maritime-urban-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maritime Urban Tracking

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. Ferry moving

Here is a gif where there is a moving target. The big green dots are the estimated GNSS locations. Target moving

Pre-requisites

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.

Download the dataset

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.

Option 1: Download via web browser

  1. Go to the dataset website linked above.
  2. Click on Data Access/Table Of Contents and click on the .tar.gz-file to download it.
  3. After downloading, extract the contents, e.g., run tar -xzvf Maritime-Urban-Tracking.tar.gz.

Option 2: Use wget

  1. Download: wget https://data.archive.sigma2.no/dataset/6723ebbe-2505-4321-b94d-8a4e482cd6bb/download/Maritime-Urban-Tracking.tar.gz
  2. Extract: tar -xzvf Maritime-Urban-Tracking.tar.gz

Installation

  1. Download the repository.
  2. Consider using a venv like python3 -m venv venv and source it, source venv/bin/activate.
  3. Install our code using
    pip install -e .
  4. Ensure that OpenCV is installed, see pre-requisite above.
  5. Then change the DATASET_FOLDER variable in this file to the correct absolute path.

Usage

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.

Citations

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.

About

This repository contains the interface to the Maritime Urban Tracking (MUT) dataset. We have used an autonomous ferry prototype to acquire the data. We suggest reading the paper for more information.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages