whatisgithub

What is g3t?

g3t-paper/g3t — explained in plain English

Analysis updated 2026-05-18

31PythonAudience · researcherComplexity · 4/5Setup · hard

In one sentence

A research tool from Cornell that turns a set of photos into a gravity-aligned 3D reconstruction of the scene.

Mindmap

mindmap
  root((G3T))
    What it does
      3D scene reconstruction
      Gravity aligned output
      Pointmap prediction
    Tech stack
      Python
      Transformer model
      Hugging Face weights
    Use cases
      Reconstruct a scene from photos
      Process long video with G3T-Long
      Explore results in browser viewer
    Audience
      Researchers
      Computer vision engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Point the script at a folder of photos to get a gravity-aligned 3D reconstruction.

USE CASE 2

Process a long video with G3T-Long, which chunks and stitches the reconstruction together.

USE CASE 3

Use the loop closure mechanism to correct drift when a camera revisits the same location.

USE CASE 4

Explore a finished reconstruction in the included browser-based interactive visualizer.

What is it built with?

PythonPyTorchHugging Face

How does it compare?

g3t-paper/g3tcoleam00/harness-engineering-democolor4-alt/citecheck
Stars313131
LanguagePythonPythonPython
Setup difficultyhardmoderateeasy
Complexity4/53/52/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires downloading pre-trained model weights from Hugging Face and a working Python environment for running inference.

License terms are not stated in the description, check the repository directly before using or redistributing this code.

So what is it?

This is a research codebase from Cornell University presenting a system called G3T that reconstructs three-dimensional scenes from photographs. Existing 3D reconstruction tools often produce results that are tilted or inconsistently oriented because photos can be taken from any angle. G3T addresses this by producing results that are always aligned to gravity, meaning the reconstructed scene is automatically oriented upright regardless of how the input images were captured. The core model is a transformer, a type of neural network, that takes a collection of photos and predicts a pointmap for each one. A pointmap assigns a three-dimensional position to every pixel in an image, effectively describing the shape of the scene in space. Because G3T applies a gravity-aligned coordinate system before making its predictions, the output structure is consistently upright without any separate correction step afterward. The repository also includes G3T-Long, an extension for handling long video sequences. Instead of treating a whole video as one reconstruction problem, G3T-Long breaks the sequence into overlapping chunks, reconstructs each with G3T, and then joins them into a single model. A loop closure mechanism can detect when the camera returns to a previously mapped location and uses that to correct drift that accumulates over long sequences. Both tools download pre-trained model weights from Hugging Face automatically on first run. The standard workflow is to point a script at a folder of images, run inference, and then explore the result in a browser-based interactive visualizer. The project builds on earlier open-source 3D reconstruction work and was fine-tuned from an existing checkpoint. Training code and a faster C++ loop closure solver are planned but not yet released.

Copy-paste prompts

Prompt 1
Show me how to run G3T on a folder of my own photos to get a 3D reconstruction.
Prompt 2
Explain what a pointmap is and how G3T predicts one for each input photo.
Prompt 3
Walk me through using G3T-Long to reconstruct a long video sequence.
Prompt 4
Help me set up the browser-based visualizer to explore a G3T reconstruction result.

Frequently asked questions

What is g3t?

A research tool from Cornell that turns a set of photos into a gravity-aligned 3D reconstruction of the scene.

What language is g3t written in?

Mainly Python. The stack also includes Python, PyTorch, Hugging Face.

What license does g3t use?

License terms are not stated in the description, check the repository directly before using or redistributing this code.

How hard is g3t to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is g3t for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.