#501 · Primary category: Computer Vision
photometric_optimization
Photometric optimization code for creating the FLAME texture space and other applications
Project last updated:03/31/22
GitHub Stars
592
Forks
97
Contributors
2
License
MIT
Why we included this project
Photometric fitting of a textured FLAME head model to a single in-the-wild photo is the core of this repository, and it covers the whole analysis-by-synthesis loop rather than just one piece. The code optimizes FLAME's shape, pose, and expression parameters along with spherical-harmonics lighting and a texture offset, using landmark and photometric losses restricted to the skin region so occlusion does not wreck the fit. It also documents how to build a PCA texture space from roughly 1,500 FFHQ images, including a texture-completion step with an inpainting network to fill occluded areas. That second part matters because FLAME itself has no appearance space, so this doubles as a recipe for constructing one from scratch. The single-image demo runs once PyTorch3D is set up, though you will need to register on the FLAME site to download the model and texture assets.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)