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:
@inproceedings{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},
booktitle={European Conference on Computer Vision (ECCV)},
year={2024},
pages={353–369},
organization={Springer},
doi={10.1007/978-3-031-73232-4_20},
}
@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.1.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 309.5 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a252d85bb0c6bc96631c8464b37458f5a94a50cfb5419ae06aafa216a15bf95 |
|
MD5 | 8123c7b28bc49ada4e0403eb240b5641 |
|
BLAKE2b-256 | 96abf6a200d6856b002d0d5eb9a57b09d6dd3061d8fd5fb8a9367311be8dbd30 |
File details
Details for the file dufomap-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 857.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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49423a97c2f1ac9616ad95da0b708c328fb9c9dbe2c17b7bdff80c1e13461a07 |
|
MD5 | 1fa4eebe1203608a5a5ec7407d10e03d |
|
BLAKE2b-256 | e1bfce5cf971adaec7cdd47baac921ea8912ad0a14821765bf8b6d77ea095f8d |
File details
Details for the file dufomap-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 563.2 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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86316721e768855f1798d02434a1e3d57c8632a56c938614be41628b5b8ea013 |
|
MD5 | 449584f6f6d6a69afcbcce93205e5c8f |
|
BLAKE2b-256 | 9d1fd2f3b77da59b34ea34d8679ec043a16235594010b92f9af0c6b202a63e56 |
File details
Details for the file dufomap-1.1.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 360.6 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4ed789b6c36f5b50e73285095a02578fdd540e48253143306d6e27a787a3ece |
|
MD5 | f125f24f72871e62780914186a675d10 |
|
BLAKE2b-256 | acdee93b09dede9550a5a323231428afff15be9e27cb76b43f32b421599cf5fd |
File details
Details for the file dufomap-1.1.0-cp310-cp310-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp310-cp310-macosx_10_15_x86_64.whl
- Upload date:
- Size: 397.6 kB
- Tags: CPython 3.10, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9a407a9ae2a188af65869878e2e5750fd3819ea7f734f5884cc7ac3ac3ce2fd |
|
MD5 | c06e9c2b2107305aaa02e6ece8cab4e0 |
|
BLAKE2b-256 | cfcde232b8f313705801724ffb65e81bb420654977725fd814711579e27c8ae3 |
File details
Details for the file dufomap-1.1.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 309.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 546b7e6213762cee7f6fd796a55380dcecf5706f52692566ae5e0fc10ab55526 |
|
MD5 | 8dc69d3bf897c4c380ac370b5b500ba5 |
|
BLAKE2b-256 | 0874b06f0508a474ae81071cecd4a960033e8facdfb026d981865c50a7370747 |
File details
Details for the file dufomap-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 857.9 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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5055d9172f42f75523fee077eb5d1fe843486ffe58080f319a820d30542625e1 |
|
MD5 | edf29cdf138e5648f0c289ac9b0a4157 |
|
BLAKE2b-256 | 721c97db939982f0bb126ca0f4bce235d9695bac3e98a61f6420399653fb3bc9 |
File details
Details for the file dufomap-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 563.5 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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 324e7cc072c66f6173d38670fb1310ffc2c40fbe7c23c544604b0e1ff6dd89cc |
|
MD5 | 72f1d3199f7c83ecbc429451b5d34e21 |
|
BLAKE2b-256 | 1da23572f9e6d24b3f22d38ffe81b65bc545134f49103cbf1456a882dae35db4 |
File details
Details for the file dufomap-1.1.0-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 360.7 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be94bc585a2e8378c05866531d04567abb6c987ff692f0ed2359245d2606386 |
|
MD5 | addb915f67424c72cd04b910d43bfad7 |
|
BLAKE2b-256 | 79b303fd2f9400d7d73531768739da6808abc60a2275cdf09c069f1669bdf0b5 |
File details
Details for the file dufomap-1.1.0-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 397.9 kB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd1dfb1668be8d0d4be5535f33d8d40b5ee97f87cc7a4555b27d9232df1592c0 |
|
MD5 | 145d8df8f295a9a4318ea77dead6e90a |
|
BLAKE2b-256 | a46b95943f890b1de2f58d309ccc916332439a5645a6ff4d69d72696713efda6 |
File details
Details for the file dufomap-1.1.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 309.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c79c64883e9ea92a1aee4f97983b97c76cbb405cfe21264a58da9e897a819905 |
|
MD5 | f36870879455d77f47490e7afabf9702 |
|
BLAKE2b-256 | 8a025b9e52c6d67815686c76afdd4d44c5468e592fc94a8aea0c4e9d4d7c0e35 |
File details
Details for the file dufomap-1.1.0-cp38-cp38-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 856.9 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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b3aaf7a773684302140cef930e33b69704359c55590f08e854d80d4054472b |
|
MD5 | 9fc4d98ec0dced6f7a5aba8c89988da3 |
|
BLAKE2b-256 | eabe1fa0b5f22f8b70fea38868437a216f3dbe74740325d2485c74bb4f4bcc1a |
File details
Details for the file dufomap-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 562.6 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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d906f69236a365ad6049f7511a3363472a17d96a3f33e7faf69f84ff6d8c51ae |
|
MD5 | 4e851d9c551bcb9b0870e0596e8e5763 |
|
BLAKE2b-256 | 6fa34c1aad4901b64842b0366c997f106320897c8966cfd1ac7a0958c655806e |
File details
Details for the file dufomap-1.1.0-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 360.0 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18f94549d2f22e335759e329c0226e821709e9b733de270b60209b327962f0a2 |
|
MD5 | 78bb13386303629065b018effe187791 |
|
BLAKE2b-256 | d7ae3a5b14470855d5ab52f963620902608bafd73dbb9841f75279f8b1be6022 |
File details
Details for the file dufomap-1.1.0-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: dufomap-1.1.0-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 418.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.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61fabbb20f4199e19dd29a06d64f9b95a9c97028ed2245e6d1196584bcef5cef |
|
MD5 | ce5ccf84fc54a1c7df0bbdd4203ef218 |
|
BLAKE2b-256 | 47498668c1117aa661470353ec25f8439cc77e4b9506d1a55c9199037a80274d |