This release is a pre-release and may not be stable for production use.
Dungeon Maps
A tiny PyTorch library for depth map manipulations.
Version: 0.0.3a1
Features
| Batching | Multi-channels | GPU acceleration | |
|---|---|---|---|
| Orthographic projection (Top-down map) |
✔️ | ✔️ | ✔️ |
| Egocentric motion flow | ✔️ | ✔️ | ✔️ |
| 3D affine transformation (Camera space) |
✔️ | ✔️ | ✔️ |
| 2D affine transformation (Top-down view) |
✔️ | ✔️ | ✔️ |
| Map builder | ✔️ | ✔️ | ✔️ |
Demos
Orthographic projection
Depth maps
(Watch this video in high quality)
This example shows how to project depth maps to top-down maps (plan view).
- Top left: RGB
- Top right: Depth map
- Bottom left: top-down maps in local space
- Bottom right: top-down maps in global space
Run this example
python -m dungeon_maps.demos.height_map.run
Control: W, A, S, D. Q for exit
Semantic segmentations
(Watch this video in height quality)
This example shows how to project arbitrary value maps, e.g. semantic segmentation, to top-down maps (plan view).
- Top left: RGB
- Top center: Depth map
- Top right: Semantic segmentation
- Bottom left: top-down maps in local space
- Bottom right: top-down maps in global space
Run this example
python -m dungeon_maps.demos.object_map.run
Control: W, A, S, D. Q for exit
Egocentric motion flow
(Watch this video in high quality)
This example shows how to calculate the flow fields caused by camera motion.
Run this example
python -m dungeon_maps.demos.ego_flow.run
Use case
One of the real case is to use this package along with the Habitat Lab to render the semantic topdown maps.
Installation
Basic requirements:
- Python >= 3.6
- PyTorch >= 1.8.0
- PyTorch Scatter
Install from pip
pip install dungeon_maps
Install from GitHub repo
pip install git+https://github.com.Ending2015a/dungeon_map.git@master
Install demos
pip install dungeon_maps[sim]
Metadata
Release files for dungeon-maps 0.0.3a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dungeon_maps-0.0.3a1.tar.gz | 37.7 kB | Without provenance | Details for dungeon_maps-0.0.3a1.tar.gz |
Release files / dungeon_maps-0.0.3a1.tar.gz
| Download URL | dungeon_maps-0.0.3a1.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4317d8a3b4702e537f3cb45ec7daa94d3608b8602075aed16614c3d179940bdb
|
|
BLAKE2b-256 checksum How to use checksums |
66a1968abe5bfa02e956b6fd875c3cea7dfb6b6e50086d6138d410c6cf6d94a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.5
|
Security for dungeon-maps 0.0.3a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.