Skip to main content

Gaussian Reconstruction

Gaussian Reconstruction is a Python package for 3D Gaussian splatting reconstruction from video inputs, designed for efficient and high-quality 3D model generation.

Installation and Setup

Follow these steps to set up the environment and install the package.

Step 1: Create the Conda Environment

First, create the gaussian_splatting environment using the provided environment.yml file:

conda env create -f gsrecon/environment.yml

Step 2: Activate the Environment

Activate the newly created environment:

conda activate gaussian_splatting

Step 3: Install Gaussian Reconstruction Package

Install the gaussian-reconstruction package using pip:

pip install gaussian-reconstruction

Additional Dependencies

To ensure successful operation, the following dependencies are required (these are included in the package requirements, but you may install them manually if needed):

  • OpenCV (cv2): pip install opencv-python
  • PyColmap: pip install pycolmap

Usage

Once the package is installed, you can start the conversion process.

Import the Library

Import the VideoToPLYConverter class from the package:

from gsrecon.converter import VideoToPLYConverter

Create a Converter Instance

Create an instance of VideoToPLYConverter with the desired method (e.g., pycolmap):

converter = VideoToPLYConverter(method='pycolmap')

Start converting

Use the convert_video_to_ply function to start the conversion process. Provide the path to the video file and set the extraction rate (frames per second):

video_path = "path/to/your/video.mp4"  # Replace with your video file path
extraction_rate = None  # Set the frame extraction rate; defaults to None (extract all frames unless specified, e.g., 1 for 1 FPS)
converter.convert_video_to_ply(video_path, extraction_rate)

License

This project is licensed under the terms specified in the LICENSE file.


This documentation provides a step-by-step guide to installing, setting up, and using the Gaussian Reconstruction package for 3D Gaussian splatting reconstruction.



Metadata

Release files for gaussian-reconstruction 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gaussian-reconstruction 1.2.2
File Size Uploaded Provenance Actions
gaussian-reconstruction-1.2.2.tar.gz 7.7 kB Without provenance Details for gaussian-reconstruction-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gaussian-reconstruction 1.2.2
File Interpreter ABI Platform Actions
gaussian_reconstruction-1.2.2-py3-none-any.whl Python 3 none any Details for gaussian_reconstruction-1.2.2-py3-none-any.whl

Total release size: 16.2 kB

Release files / gaussian-reconstruction-1.2.2.tar.gz

Download URL gaussian-reconstruction-1.2.2.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ad74223ea9401f33631e9b33f2d3c27a5bbefa99a7ec190284d4b100cf06fcc7
BLAKE2b-256 checksum
How to use checksums
9adecdfad6adb8ee88bfbf1a5f19e2eed8d1c26342e86e9fbcea9c1297e0cbac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.5

Release files / gaussian_reconstruction-1.2.2-py3-none-any.whl

Download URL gaussian_reconstruction-1.2.2-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a0a141af8b486db6f14cd57ff74ac4796ab5e24ee3f14d13005293a22121770
BLAKE2b-256 checksum
How to use checksums
a26bc06e640276359c3a2e1c9d7341044939c778e3ace2a41bc1a16b1119efde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.5

Security for gaussian-reconstruction 1.2.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page