Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Research 5 min read Announcement easyNovice

It's all about the angle: Your photos, re-composed

Google Photos' Auto frame can now re-compose a portrait from a new camera angle by treating the 2D photo as a 3D scene. The pipeline has two stages. First, a 3D point map model tuned for human bodies and faces estimates per-pixel geometry and the original focal length, and the image is re-rendered from new camera extrinsics and intrinsics. Second, a latent diffusion model fills the disoccluded holes. The diffusion model was trained on image pairs with known cameras, projecting one image's point map into the other's view, and inference uses classifier guidance with regional scaling to preserve original content. Face position and 3D orientation detection pick the target camera automatically, including 'stepping back' to correct wide-angle selfie distortion.

Assumes: diffusion models basicscamera intrinsics and extrinsics

Related posts

  • Introduction to 3D Gaussian Splatting

    Hugging Face mediumAdept

    3D Gaussian Splatting renders photorealistic scenes in real time by rasterizing millions of gaussians, each with a position, covariance, color and alpha, instead of triangles. The pipeline runs Structure from Motion (e.g. COLMAP) to get a point cloud and turns each point into a gaussian. It then trains the parameters with SGD through a differentiable rasterizer that projects gaussians to 2D, depth-sorts them and alpha-blends front to back, splitting, cloning and pruning gaussians along the way. Tradeoffs include high VRAM use (4GB to view, 12GB to train), scene files of 1GB+, static scenes and incompatibility with existing pipelines. The main porting bottleneck is the CUDA-only CUB radix sort used to sort the gaussians.

  • The Definitive Fine-Tuning Guide for 3D Generation Models

    Hugging Face hardMaster

    TRELLIS.2, an image-to-3D model built on sparse O-Voxel structured latents, can be specialized with LoRA adapters on just the stages that control shape: the dense sparse-structure flow DiT (rank 8, attention and MLP) and the sparse shape flow DiT (rank 16, attention), about 9.3M trainable parameters in total. The texture flow DiT stays frozen because the dataset's diffuse maps bake in lighting and would teach wrong material targets and risk catastrophic forgetting. Using 188 footwear objects from Google Scanned Objects to fix inaccurate shoe soles, the guide supplies preprocessing (Blender renders 16 views per object, about 1 hour on an A100) and training Docker containers that run on Hugging Face Jobs or locally, with resumable checkpoints and Trackio monitoring.

  • Split-and-Scale Latent 3D Representations

    Apple Machine Learning Research hardMaster

    Split-and-scale expands the capacity of latent 3D representations at inference time by applying a single pretrained tokenizer to arbitrarily small sub-regions of a scene, which works because scenes are represented as continuous functions of 3D coordinates. Each sub-region gets the same latent capacity over a smaller spatial extent, capturing much finer detail without the training cost or memory limits of larger latents. Ablations map trade-offs between compute, memory, latent capacity and reconstruction quality, showing quality competitive with much larger models that exceed single-GPU memory. The representation also supports an autoregressive 3D generator competitive with state-of-the-art baselines.

  • How an Agent Built a 3D Paris Gallery by Chaining Two Hugging Face Spaces

    Hugging Face mediumAdept

    Every Gradio Space on Hugging Face now exposes a plain-text agents.md describing its API schema, call/poll endpoints, file upload and auth, so a coding agent can drive a Space with no client library. A coding agent chained an image-generation Space (ideogram4) with VAST-AI/TripoSplat to produce single-image 3D Gaussian splats of Paris monuments. It also handled the glue work: flipping Y-down outputs upright, auto-framing, compressing .ply to .ksplat (~3× smaller), building a Three.js viewer and deploying a static Space. Reusing the same pipeline for Japan and Egypt galleries took one prompt each, which the author offers as evidence for Mitchell Hashimoto's 'building block economy' applied to multimedia models.

  • PRX Part 3 — Training a Text-to-Image Model in 24h!

    Hugging Face hardMaster

    A 24-hour, ~$1500 speedrun on 32 H200s combines the most effective diffusion training tricks into a single text-to-image recipe. The recipe uses x-prediction in pixel space with patch size 32 and no VAE, LPIPS and DINOv2 perceptual losses applied to pooled full images at all noise levels, TREAD token routing with dense-vs-routed self-guidance, REPA alignment to DINOv3 at block 8 on non-routed tokens only, and Muon for 2D parameters with Adam for everything else. Training ran 100k steps at 512px followed by 20k steps at 1024px on about 8.7M synthetic images. The resulting model follows prompts well, and its remaining artifacts look like undertraining rather than flaws in the recipe. Code and configs are open-sourced in the PRX repository.

The quest for software engineering knowledge.

Look:
Layout: