DUFOMap Python bindings
Project description
DUFOMap Python Package
Author: Qingwen Zhang. Please give us a star if you like this repo! 🌟 and cite our work 📖 if you find this useful for your research. Thanks!
All datasets and benchmark methods check: DynamicMap_Benchmark if you are not only interested in the method but also the comparison.
Note: to know better about the parameters meaning and ablation study, please check the paper.
📜 Change Log:
- 2024-08-29: Remove OpenMP but add oneTBB for all codes. Speed up the code by 18%. Check the discussion here.
- 2024-08-28: Refactor the code and add
__init__.py
to have the input array must be contiguous first. - 2024-07-03: Speed up nanobind
np.array
<->std::vector<Eigen:: Vector3d>
conversion and alsoNOMINSIZE
in make. Speed difference: 0.1s -> 0.01s. Based on discussion here. - 2023-11-28: Initial version.
Installation:
pip install dufomap
Run the example
Demo usage:
from dufomap import dufomap
# pointcloud: Nx3 numpy array
# pose: 4x4 numpy array or a list with 7 elements (x,y,z,qw,qx,qy,qz)
mydufo = dufomap()
mydufo.run(pointcloud, pose, cloud_transform=True)
label = mydufo.segment(pointcloud, pose, cloud_transform = True)
# 1: dynamic, 0: static
Or you can check the full example script in [example.py]. If you run the example script, it will directly show a default effect of demo data.
# for this demo you need install open3d to run the visualization
pip install open3d fire
wget https://zenodo.org/records/10886629/files/00.zip
unzip 00.zip
python example.py --data_dir ./00
Acknowledgement
This python binding is developed during our SeFlow work, please cite our paper if you use this package in Python:
@article{zhang2024seflow,
author={Zhang, Qingwen and Yang, Yi and Li, Peizheng and Andersson, Olov and Jensfelt, Patric},
title={SeFlow: A Self-Supervised Scene Flow Method in Autonomous Driving},
journal={arXiv preprint arXiv:2407.01702},
year={2024}
}
@article{daniel2024dufomap,
author={Duberg, Daniel and Zhang, Qingwen and Jia, Mingkai and Jensfelt, Patric},
journal={IEEE Robotics and Automation Letters},
title={{DUFOMap}: Efficient Dynamic Awareness Mapping},
year={2024},
volume={9},
number={6},
pages={5038-5045},
doi={10.1109/LRA.2024.3387658}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file dufomap-1.0.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 297.6 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e01d951cad663b195deaacb795193ff61defa839e6752010634f571d1ed6d9 |
|
MD5 | 13fb94fb15d3c29263be3a4c8092046e |
|
BLAKE2b-256 | 3bca0fea23ee599f671442bbf266b7c4648cc7af896fe7c88787bc14f7ab2446 |
File details
Details for the file dufomap-1.0.0-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 827.5 kB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4658093a787dadbc243f036c32af8bab3ccbdafb0a27a96a6f0172245c30573c |
|
MD5 | fa122cd3f0b3c61574c6c8a0f9d788b0 |
|
BLAKE2b-256 | 8abe90e1435c849b8b6d3380666b27cc9290a6422adf0c49b2dd40449caba4e3 |
File details
Details for the file dufomap-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 531.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884a86e545abde8dfd8356f858da7b36e1408b41b181a76ac3b8349a346e174a |
|
MD5 | cbe4021a780b4df50b0f15375930a574 |
|
BLAKE2b-256 | e26e2442f647266540a5f40216cffa7b2893e964a819329d8a99dafb4acc93d6 |
File details
Details for the file dufomap-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 353.1 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 081aba326341f3a1a8e54b3bda962ed71b2d171024e7c4ee6b13bfb446dc6de7 |
|
MD5 | 97fbeba123ce4d8805a80011ed2dd1ef |
|
BLAKE2b-256 | ed8f8b32c896502423f2e4abf034507959d9ccaca3c4495eec30a6eaa544103f |
File details
Details for the file dufomap-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl
- Upload date:
- Size: 385.9 kB
- Tags: CPython 3.10, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfe614bf25bd60c23b40d388334b3c8cb87b15eed6d30d3f31dae4ca4582ff6a |
|
MD5 | 23f39e36951ff6c26b91dda28b364325 |
|
BLAKE2b-256 | e50e629f35bd4ca5fd48006338e73df16843005f724abf87b1ebffe46ba8c32d |
File details
Details for the file dufomap-1.0.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 297.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34142efd6e8023952b8cada01207ab799a509d6dc44f9913c38dbdee7f352811 |
|
MD5 | e45f65b6245924d12cd73d91b24a77ae |
|
BLAKE2b-256 | 18335382e7387afec9cc029b8e977fe85fcada7686f79dccfa477ac91762bb28 |
File details
Details for the file dufomap-1.0.0-cp39-cp39-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 827.7 kB
- Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbc58e0b123d15da4365258d6033b620e0a177adca0969ba5a2df4c8c73e22bd |
|
MD5 | 5954289d8c5080e71918a84eb29d52e3 |
|
BLAKE2b-256 | 0a8b29f1ec2310f2759fc0d52b13676f65b943cfa349cb82c3c5cbff7be342c6 |
File details
Details for the file dufomap-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 531.3 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6258fa803f5e6350f6cac700f6a13ebf590921a93b28c4693c18d3c5b785eb |
|
MD5 | 21d059776672c545e793e563a317a002 |
|
BLAKE2b-256 | 261f81c79679e48c21dbb289f61c4c015e42909f4f74b522fceab1b9e4389ac8 |
File details
Details for the file dufomap-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 353.2 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11678b2760f68ed32f0a26082926569f6cf18d36f4656084dbf7056b3fc7a34f |
|
MD5 | 533690fa746129c82953fba7b87877b1 |
|
BLAKE2b-256 | 1e68531fa460747063e4de2c64896d27b571e6b9bfff81c03b23a05caac647f4 |
File details
Details for the file dufomap-1.0.0-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 386.1 kB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95524c4734464326c2f1e54d92250b8d79c38e7815894e3be6881ac1d4cb09a |
|
MD5 | 1260a5cc2d99d6e47b59cd1c0b334ab0 |
|
BLAKE2b-256 | 26676f634664e4eef8f6f0e483bd8f4d59681cebe3cfd8fe438196272f7c75de |
File details
Details for the file dufomap-1.0.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 297.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a10cddb5545e11f26ef0202d92ae5edde9ace1317524c51102f3ade8055c56 |
|
MD5 | b87b4ff6e5585fdd831675c5374ef3b5 |
|
BLAKE2b-256 | 4d4920c698b0b88321de46b2875e1a8c02d85cb5f84bb03c8dd2a49d308e7ac6 |
File details
Details for the file dufomap-1.0.0-cp38-cp38-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 827.3 kB
- Tags: CPython 3.8, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f5df64d7e98042833554c1a242a0fa6d3e7cf62f23929e9ac7083a059686217 |
|
MD5 | 139a72971030fd6961abcbc3ac3bd164 |
|
BLAKE2b-256 | 646728587ccd88563c71edb63f86fd6dae8f2b72a4e73d944dba2563c9049e48 |
File details
Details for the file dufomap-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 531.0 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4669c06fbdedcf5d6bbe40eaa939e51b6134265a8588ea5b9b66019043658e89 |
|
MD5 | 06a422e1422715eea9cf594193c86b05 |
|
BLAKE2b-256 | bca007787353d5fd9818eb1caa585744faccb88e0262ff09398eb92c48045f25 |
File details
Details for the file dufomap-1.0.0-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 352.9 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4c4809bd170373febc66a5c52134e685f7ddb0dfab7f0d9c865d0f602e2130 |
|
MD5 | 9a3c8d6b25f876355844ea2e1d61fdc6 |
|
BLAKE2b-256 | a6f83030f42c03dc8018c44be2580e720dea375f556745e751ef5a305313df23 |
File details
Details for the file dufomap-1.0.0-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: dufomap-1.0.0-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 409.5 kB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f60885f93a01e621b48248c643f6c5b229f96eb3af8a6ac0373fdb84fcb8f2ff |
|
MD5 | ee7c37f06504bdd4210cfd770bbae641 |
|
BLAKE2b-256 | a60eadb3fa1e16968d7f48e3a930325764680d8db8dff31e33f1a46e78c70ae4 |