A lightweight View Planning Toolbox (VPT) for simulated image acquisition, trajectory plans, trajectory visualization, and 3D reconstruction
If you use the code or the toolbox for your work, please cite the following paper:
@article{gazani2023bag,
title={Bag of views: An appearance-based approach to next-best-view planning for 3d reconstruction},
author={Gazani, Sara Hatami and Tucsok, Matthew and Mantegh, Iraj and Najjaran, Homayoun},
journal={IEEE Robotics and Automation Letters},
volume={9},
number={1},
pages={295--302},
year={2023},
publisher={IEEE}
}
- Ubuntu 20.04 or compatible version (Tested with 20.04)
- Python 3.8.0 or compatible version (Tested with 3.8.0)
- Blender 3.5.1 or compatible version (Tested with 3.5.1)
- VirtualEnv for the package management Installation Instructions
- Clone this repository into your Python project folder using the terminal:
git clone https://github.com/matthew-tucsok/ViewPlanningToolbox.git <your_project_folder>
- Install the requirements.txt.
cd ViewPlanningToolbox
pip install -r requirements.txt
- Add Blender as an alias to your .bashrc file:
nano ~/.bashrc
Add the following line to the end of the file:
alias blender='/<your_blender_path>/blender'
-
Follow the installation instructions steps 3-5 for BlendTorch replacing with "pytorch-blender".
-
Modify config.ini to point to your blender executable and change your camera settings.