Skip to content
davidea97Public

About

A learning-free solution for Active Mapping of Moving 3D Objects.

Resources

Stars

42 stars

Watchers

0 watching

Forks

Repository files navigation

Paparazzo

Official repository for "Paparazzo: Active Mapping of Moving 3D Objects".

🎉 Accepted at CVPR 2026 🎉

🌐 Project Page https://davidea97.github.io/paparazzo-page/

📄 ArXiv Paper https://arxiv.org/abs/2604.19556

Installation

Paparazzo is designed to run inside a Habitat-Lab checkout. It is not a standalone simulator package: install Habitat-Sim and Habitat-Lab first, then clone Paparazzo inside the Habitat-Lab root.

Follow the official Habitat installation instructions first:

The Habitat-Lab installation provides the Habitat Python package and its config tree.

Installation steps

Expected layout:

habitat-lab/
  habitat-sim/
  habitat-lab/
  habitat-baselines/
  Paparazzo/

1. Create a Python Environment

The code has been tested with Python 3.9.

cd /path/to/habitat-lab/Paparazzo
python3.9 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip setuptools wheel

2. Install Habitat-Sim

If you do not use conda, build Habitat-Sim from source:

cd /path/to/habitat-lab/habitat-sim
python -m pip install -r requirements.txt
HEADLESS=True WITH_BULLET=ON python -m pip install . -v

Check that Habitat-Sim and Magnum are available:

python -c "import magnum; print(magnum.__file__)"
python -c "import habitat_sim; print(habitat_sim.__file__)"

3. Install Habitat-Lab

cd /path/to/habitat-lab
python -m pip install -e habitat-lab
python -m pip install -e habitat-baselines

4. Install Paparazzo Dependencies

cd /path/to/habitat-lab/Paparazzo
python -m pip install -r requirements.txt

Initialize the external submodules:

git submodule update --init --recursive

Install the local CUDA/C++ extensions:

python -m pip install -v --no-build-isolation -e thirdparty/diff-gaussian-rasterization-modified
python -m pip install -v --no-build-isolation -e thirdparty/simple-knn
python -m pip install -e KISS-Matcher/python

Validate the environment:

python scripts/check_install.py
# equivalent:
python -m paparazzo.tools.check_install

The rasterizer submodule points to a Paparazzo-compatible fork with backward_power support:

https://github.com/davidea97/diff-gaussian-rasterization-w-depth-paparazzo

If the rasterizer build cannot infer the CUDA architecture, set it explicitly:

TORCH_CUDA_ARCH_LIST="8.6" python -m pip install -v --no-build-isolation -e thirdparty/diff-gaussian-rasterization-modified

Use the compute capability that matches your GPU.

Data

Paparazzo expects Habitat-compatible scene data and object assets. The example commands below assume:

habitat-lab/
  data/
    versioned_data/
      gibson/
      habitat_example_objects_0.2/

The data root is passed with:

--root_path ../data/versioned_data/

Repository Structure

main_habitat.py              Entry point for Habitat-based Paparazzo runs.
configs/                     Paparazzo, SLAM, Habitat, and run configs.
paparazzo/                   Paparazzo-specific Python package.
  core/                      Main runner, options, simulated objects, and state manager.
  datasets/                  Habitat dataset/simulator wrappers.
  ekf/                       Object-motion filtering and prediction.
  evaluation/                Reconstruction and point-cloud evaluation helpers.
  legacy/                    Legacy and experimental integrations.
    blender/                 Blender simulator integration kept for reference.
  mapping/                   Mapping helpers used by the active mapping loop.
  planning/                  A*, frontier, RRT, and active-view planning.
  scripts/                   Geometry, object, and simulation utilities.
  tools/                     Install checks and maintenance commands.
  utils/                     General utility modules.
  visualization/             Habitat and object-state visualization helpers.
models/                      Gaussian SLAM and object reconstruction modules.
scripts/                     Compatibility wrappers for documented commands.
thirdparty/                  CUDA extensions required by Gaussian Splatting.
KISS-Matcher/                Object point-cloud registration submodule.

Running Paparazzo

The main entry point is:

main_habitat.py

Example command:

cd /path/to/habitat-lab/Paparazzo
CUDA_VISIBLE_DEVICES=2 venv/bin/python main_habitat.py \
  --name test_pointnav_exp \
  --ensemble_dir ckpt/ \
  --gs_slam_config configs/gs_slam_settings.yaml \
  --active_mapping_config configs/paparazzo_settings.yaml \
  --habitat_config configs/habitat_settings.yaml \
  --general_config configs/general_settings.yaml \
  --main_config configs/main_settings.yaml \
  --root_path ../data/versioned_data/ \
  --log_dir logs/ \
  --scenes_list Ribera \
  --gpu_capacity 1 \
  --test_set v1 \
  --dataset gibson \
  --dataset_split val

Outputs are written under the configured workdir and logs/.

About

A learning-free solution for Active Mapping of Moving 3D Objects.

Resources

Stars

42 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages