Skip to main content

DUFOMap Python bindings

Project description

DUFOMap Python Package

arXiv page Stable Version Python Versions Download Stats

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!

Available in:

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 also NOMINSIZE 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

dufomap_py

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dufomap-1.1.1-cp312-cp312-win_amd64.whl (311.0 kB view details)

Uploaded CPython 3.12Windows x86-64

dufomap-1.1.1-cp312-cp312-musllinux_1_2_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

dufomap-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (563.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dufomap-1.1.1-cp311-cp311-win_amd64.whl (312.0 kB view details)

Uploaded CPython 3.11Windows x86-64

dufomap-1.1.1-cp311-cp311-musllinux_1_2_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

dufomap-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (564.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dufomap-1.1.1-cp310-cp310-win_amd64.whl (312.1 kB view details)

Uploaded CPython 3.10Windows x86-64

dufomap-1.1.1-cp310-cp310-musllinux_1_2_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

dufomap-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (564.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dufomap-1.1.1-cp39-cp39-win_amd64.whl (312.6 kB view details)

Uploaded CPython 3.9Windows x86-64

dufomap-1.1.1-cp39-cp39-musllinux_1_2_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

dufomap-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (565.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

dufomap-1.1.1-cp38-cp38-win_amd64.whl (307.8 kB view details)

Uploaded CPython 3.8Windows x86-64

dufomap-1.1.1-cp38-cp38-musllinux_1_2_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ x86-64

dufomap-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (559.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file dufomap-1.1.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: dufomap-1.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 311.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dufomap-1.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8c63b468a193ff3f95aabdbfe7ac9f8af0a6380fc77c53ac761d3664801e24c1
MD5 b74c84deb47e56b8f18350f02c7a46b6
BLAKE2b-256 026397bc2a38fc5b31825a1d5a9ed4e6ee43f75f0b8f6df0933eb2a9fb23bc06

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f9eb1bd2b2c8dba39652f5badd4f50b5a77e8f8184d3aa6ef2c32ee203cfafbb
MD5 1fa96362c98e770406dc3d667d25aa4e
BLAKE2b-256 0de9b1764a4619cc3cfe5e96d31f26d50ffa01883ce908946a66de4a6cf48693

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9981eb4c5c026e6fb3deb22e86ab109dce561886c32c38994474bd5f786702ca
MD5 9eb8c0099a2f71ada45656bb57a248f0
BLAKE2b-256 f69e003b8d8ee3768c8097b39999ad4ddcadbb8919a5996e573c1ffd8c328a44

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: dufomap-1.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 312.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dufomap-1.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 706de5ccd60299e355cbca3ec6e0f094ffa268ca192101c4cd8ef54a346ad4c2
MD5 58ef103997a0b1f2f6c6e7168c17ef57
BLAKE2b-256 b3a3cab48a7c0d13a2af5b32f160466e2ebbe02e9af0a67519566eee06e50ced

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 48c3f6b11f26fbc227e352e746c62c62acda624765f6b1fc6d9bdfe5077c7ef3
MD5 950f25ee504295011fcc1f1331c283e8
BLAKE2b-256 04d4978692ac3234de1945951780e2172fb3769c066f620ff9c61ee1fd5efe01

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16d72cfabefcd0ac89b0caecac84eb44ce6ad033321b8a0be2c984339fdf30c6
MD5 93a82c407a35ccdc13a9a4c270551ebe
BLAKE2b-256 10bca2219284fb7948a5a48c9e962a51cf1b291c57432ad03ead2d41d7b005f4

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dufomap-1.1.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 312.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dufomap-1.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6fb7828d7c6691c48f31c28278e5e07fc0de24f30eeabc607fe8173bebd51069
MD5 10e347027bf41edda5a1197659f14e2d
BLAKE2b-256 04b870b07e3065cc9f5d0aad435d25976260de31495416080a586131cece52f3

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9d937bf6e0aa943f22b0395cd0304539a18dd8b0a5bd219651e8f379443a87d7
MD5 e78ed55486b1d5c52bd16171c558b8d3
BLAKE2b-256 1308cf0face038f9a91e0adb91fb606f81007ed651d0729a2f7d31de2c1b5378

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 231a6dcb013ec22e165ea6be989120147afd6ffc9b7022ebd40909e9825ebe67
MD5 1bc31c55f6070af045dca9305b65d459
BLAKE2b-256 b4efa842c32d5c8dd3a48d92746ebead56de422888381a4756d431203525d6e0

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: dufomap-1.1.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 312.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dufomap-1.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7b17166eca4b1890d97deefade1b0e470df475d111bd607c9018d0cbad9008c6
MD5 cc13cb62af8ba890b825a1abbd7ee4ac
BLAKE2b-256 e0b392d7ea00832af8b89383fccbc5f49464ad6f63b9f71e6bbd1d77095d2393

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 349bed73ef1b44d3e2b3bf36987c928022c296f42d37f36abb995e7512c23168
MD5 d0a873aaad362b943eba1084b7f7f518
BLAKE2b-256 9708fabf806547dd3bfaf29600f8eb8fa6bb68769f1f500b7d34d20d3133ab5d

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3e73f9e56fd1243d88ba9c564eace535c5ecf0eed42c218c14f2634409ff9ef0
MD5 82d6db10aeeb4ed8a26b5ffd4c799dd7
BLAKE2b-256 af1292238c1302676889888abc8b3800d58fe799b8f3c8e47e09ddaa6c99e449

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: dufomap-1.1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 307.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dufomap-1.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9bc03c1d47baa85849cbf46f456c27c015bb27552fed55102a14ba9453f026ec
MD5 160151d0ead0d7440129f751b2eee823
BLAKE2b-256 b085aba819fb8851eea861835dd652097ca8299f67b7e5d77ad2e3d8a7dea307

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9fb48778130962e4d4b87cfe9325531fa42397bad88d78e5a32e571b994969d4
MD5 5cd672ff53b04e6aa574fd66684a20e7
BLAKE2b-256 5acfa195b3737915c98fb4b2a75bc701e7e0a397a920e8dd4bd7a23eab0281f9

See more details on using hashes here.

File details

Details for the file dufomap-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dufomap-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7573ebe1fa429b173ac4a7e2c1208caabf4e136c75a0e1ccdc6c9bc01461e141
MD5 e31258fc6309349c98f2446df80b70a5
BLAKE2b-256 57f1ecf112c550e4bd44b0870c524a3aaa7c2a8b5cba9d1040cafe09b5cc816c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page