Git Product home page Git Product logo

360-gaussian-splatting's Introduction

360 Gaussian Splatting

This repository contains programs for reconstructing space using OpenSfM and Gaussian Splatting. For original repositories of OpenSfM and Gaussian Splatting, please refer to the links provided.

Environment Setup

Cloning the Repository

Clone the repository with the following command:

git clone --recursive -b render_from_panorama_and_multiple_reconstruction https://github.com/inuex35/360-gaussian-splatting

Creating the Environment

In addition to the original repository, install the following module as well:

pip3 install pyproj

Training 360 Gaussian Splatting

First, generate point clouds using images from a 360-degree camera with OpenSfM. Refer to the following repository and use this command for reconstruction:

bin/opensfm_run_all your_data

Make sure the camera model is set to spherical. It is possible to use both spherical and perspective camera models simultaneously.

After reconstruction, a reconstruction.json file will be generated. You can use opensfm viewer for visualization. image

Assuming you are creating directories within data, place them as follows:

data/your_data/images/*jpg
data/your_data/reconstruction.json

Next, convert the images from equirectangular to cubemap format excluding the top and bottom, using the following command. Do not forget to save the original images in another location as this command overwrites them.

python3 opensfm_convert.py data/your_data/images/

image_masked_person To image

Then, start the training with the following command:

python3 train.py -s data/your_data --panorama

After training, results will be saved in the output directory. For training parameters and more details, refer to the Gaussian Splatting repository.

23.mp4

Training parameter

Parameters for 360 Gaussian Splatting are provided with default values in 360-gaussian-splatting/arguments/init.py.

According to the original repository, it might be beneficial to adjust position_lr_init, position_lr_final, and scaling_lr.

Reducing densify_grad_threshold can increase the number of splats, but it will also increase VRAM usage.

densify_from_iter and densify_until_iter are also related to densification.

360-gaussian-splatting's People

Contributors

snosixtyboo avatar inuex35 avatar gdrett avatar hrspythonix avatar eltociear avatar jonathonluiten avatar graphdeco avatar jakubcerveny avatar emepetres avatar khoa-nt avatar szymanowiczs avatar yzslab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.