Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Photometric optimization code for creating the FLAME texture space and other applications
| Date | Stars |
|---|---|
| 2026-07-24 | 592 |
| 2026-07-25 | 592 |
| 2026-07-28 | 592 |
| 2026-07-30 | 592 |
| 2026-08-06 | 592 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Photometric FLAME Fitting This repository provides an analysis-by-synthesis framework to fit a textured [FLAME](http://flame.is.tue.mpg.de/) model to an image. FLAME is a lightweight generic 3D head model learned from over 33,000 head scans, but it does not come with an appearance space (see the [scientific publication](https://ps.is.tuebingen.mpg.de/uploads_file/attachment/attachment/400/paper.pdf) for details). <p align="center"> <img src="images/tex_0_-3.0.png" width="150"/> <img src="images/tex_1_-3.0.png" width="150"/> <img src="images/tex_2_-3.0.png" width="150"/> <img src="images/tex_3_-3.0.png" width="150"/> <img src="images/tex_4_-3.0.png" width="150"/> </p> <p align="center"> <img src="images/tex_0_3.0.png" width="150"/> <img src="images/tex_1_3.0.png" width="150"/> <img src="images/tex_2_3.0.png" width="150"/> <img src="images/tex_3_3.0.png" width="150"/> <img src="images/tex_4_3.0.png" width="150"/> </p> <p style="text-align: justify;"><em><font color="grey">Variations of the texture space for the first five principal components. Each column shows the variation for ±2 standard deviations along one axis.</font></em></p> This repository 1) describes how to build a texture space for FLAME from in-the-wild images, and provides 2) code to fit a textured FLAME model to in-the-wild images, optimizing for FLAME's parameters, appearance, and lighting, and 3) code to optimize for the FLAME texture to match an in-the-wild image. **The FLAME model and the texture space can be downloaded from the [FLAME project website](https://flame.is.tue.mpg.de). You need to sign up and agree to the license for access.** **The demos will be released soon.** ## Build FLAME texture space from in-the-wild images The goal is to build a texture space from in-the-wild images in order to cover large range of ethnicities, age groups, etc. We therefore randomly select 1500 images from the [FFHQ dataset](https://github.com/NVlabs/ffhq-dataset) in order to build a texture space. This is done in following steps ***1. Initialization*** Building a texture space from in-the-wild images is a chicken-and-egg problem. Given a texture space, it can be used in an analysis-by-synthesis fashion to fit the 3D model to images, where these fits then can be used to build a texture space. To get an initial texture space, we fit FLAME to the [Basel Face Model (BFM)](https://faces.dmi.unibas.ch/bfm/index.php?nav=1-0&id=basel_face_model) template, and project the BFM vertex colors onto the FLAME mesh, to get an initial texture basis. ***2. Model fitting*** We then fit FLAME to the FFHQ images, optimizing for the FLAME shape, pose, and expression parameters, the parameters of the initial texture space, the parameters for Spherical Harmonics (SH) lighting (we optimize for 9 SH coefficient only, shared across all three color channels), and a texture offset to capture texture details deviating from the initial texture space. The fitting minimizes a landmark loss, a photometric loss, and diverse regularizers for shape, pose, expression, appearance, and the texture offset. The landmark loss minimizes the difference between the landmarks projected from the face model's surface, and predicted 2D landmarks (predicted using the [FAN landmark predictor](https://github.com/1adrianb/face-alignment)). The photometric loss is optimized for the skin region only (provided by the [face segmentation network](https://github.com/YuvalNirkin/face_segmentation)) to gain robustness to partial occlusions. See the provided code for details how to fit a textured FLAME model to an image. ***3. Texture completion*** After fitting, the computed texture offsets capture for each image the facial appearance of the non-occluded skin region. To complete the texture maps, we train an inpainting network adapted from [GMCNN](https://github.com/shepnerd/inpainting_gmcnn) (across all texture maps) supervisely by adding random strokes (i.e. strokes of random size and locat
Excerpt of 6,082 characters
Read on GitHub32
Max Planck Institute for Intelligent Systems
18
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:a986284cac5e0351, topic:computer-vision