lumpi-sdk-python
Provides Python classes to efficiently load and synchronize LUMPI data and labels.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.5%) to scientific vocabulary
Repository
Provides Python classes to efficiently load and synchronize LUMPI data and labels.
Basic Info
- Host: GitHub
- Owner: St3ff3nBusch
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 2.53 MB
Statistics
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
LUMPI SDK
Welcome to the LUMPI SDK repository. This SDK provides tools, examples, tutorials, and classes to help you get started with the LUMPI dataset.
Table of Contents
Installation
To install the LUMPI SDK, follow these steps:
1. Clone the repository:
sh
git clone https://github.com/St3ff3nBusch/LUMPI-SDK-Python.git
2. Navigate to the project directory:
sh
cd LUMPI-SDK-Python
3. Install the required dependencies:
sh
pip install -r requirements.txt
4. To start the example, run from the LUMPI-SDK-Python root directory:
sh
python -m examples.[example_script_name]
# Replace [example_script_name] with the desired example script name
E.g., python -m examples.labelonlyexample
Examples
The examples directory contains scripts to display images, masks, bounding boxes, and point clouds using the LUMPI SDK. For instance, camera-example.py demonstrates how to visualize camera data, including images and masks. Similarly, pointcloudexample.py shows how to visualize point clouds. It uses the LumpiParser to load point cloud data and the PointCloudFilter to segment the background.
The PointCloudVisualizer is then used to display the point clouds and draw 3D bounding boxes, with the background colored black and the foreground colored gray. You can find the scripts here. A small test data set is provided here to test the SDK.
Additionally, the cameralabelonly_example.py and pointcloudlabelonlyexample.py script demonstrates how to work with labels independently of point clouds or images. It shows how to load label data using the LumpiParser, allowing you to inspect the label data before downloading the sensor data. The fastest way to get an overview over the label is the pointcloudlabelonlyexample.py script because it shows only the raw 3D bounding boxes
You could download all labels here and display them directly with this script.

A more detailed description is given by the following tutorials.
Tutorials
Check out the tutorials directory for step-by-step guides on how to use the LUMPI SDK effectively. - LUMPI Label Only Tutorial - LUMPI Point Cloud Tutorial - LUMPI Camera Tutorial
Objects
The objects directory contains helper classes to efficiently load LUMPI data.
- The LumpiParser provides methods to load point clouds and labels, as well as methods for pose interpolation.
- The PointCloudFilter provides methods to load the background filter matrices and to get segment point clouds with back- and foreground or time intervals.
- The CameraViewer stores the camera parameters, video, and mask-video captures. It also provides methods to project the 3D labels into the respective camera view considering frustum box culling.
Labels
Not all labels were manually corrected; those that were are marked with a score of 4. The 555 hour label effort was focused on Measurements 4, 5, and 6 due to the denser point clouds. You could download the labels here.
The labels are provided as a CSV file with the following columns: - time in seconds - object id unique for each object - 2D rectangle: top left x coordinate of bird's eye view rectangle - top left y coordinate of bird's eye view rectangle - width of bird's eye view rectangle - height of bird's eye view rectangle - score 4 marks manually corrected labels - class_id 0=person, 1=car, 2=bicycle, 3=motorcycle, 4=bus, 5=truck and 6=unknown - visibility number of points in box - 3D box: center x coordinate (UTM) - y coordinate (UTM) - z coordinate (UTM) - length in meters - width in meters - height in meters - heading in radians - [optional arbitrary many double: shape parameter or point index or embeddings] empty (useful for the labeling process)
Masks
The masks are provided as additional video. All points within the manually corrected bounding boxes of a track are aggregated and projected into the box coordinate system. The 3D convex hull for all these points per object is then calculated. This hull is projected with the interpolated box pose into the camera frame, and its 2D convex hull for this frame is calculated. All 2D convex hulls are drawn, ordered by their distance to the camera, into the mask frame.
Note: For measurements 4, 5, and 6, only masks for the corrected objects are provided because masks of non-corrected objects may occlude the corrected masks. In contrast, for measurements 0-3, we provide masks for the automatically generated labels.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Owner
- Name: Steffen Busch
- Login: St3ff3nBusch
- Kind: user
- Location: Hannover, Germany
- Company: Gottfried Wilhelm Leibniz Universität Hannover: Hannover, Niedersachsen, DE
- Repositories: 1
- Profile: https://github.com/St3ff3nBusch
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "LUMPI Camera and Label Example"
authors:
- family-names: "Busch"
given-names: "FirstName"
orcid: "https://orcid.org/0000-0002-5607-9040"
date-released: "2023-11-18"
version: "1.0.0"
doi: "10.5281/zenodo.1234567"
url: "https://github.com/St3ff3nBusch/LUMPI-SDK-Python"
repository-code: "https://github.com/St3ff3nBusch/LUMPI-SDK-Python"
license: "MIT"
GitHub Events
Total
- Issues event: 1
- Watch event: 6
- Issue comment event: 2
- Push event: 5
- Public event: 1
Last Year
- Issues event: 1
- Watch event: 6
- Issue comment event: 2
- Push event: 5
- Public event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- m-shahbaz-kharal (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- notebook ==7.2.2
- numpy ==1.24.4
- open3d ==0.18.0
- opencv-python ==4.10.0.84
- pandas ==2.0.3
- plyfile ==1.0.3
- tqdm ==4.67.0