ReFaceNet

A project by Roman Slack — Lead AI Platform Engineer

ReFaceNet — a project by Roman Slack

Programming · May 2025 · 1 hours · built by Roman Slack

ReFaceNet is a face reconstruction project by Roman Slack that intelligently rebuilds a complete 2D face from multiple occluded or cropped images of the same person. It combines visible face parts drawn from different images into a unified facial reconstruction, handling partial occlusions, hand-covered selfies, and cropped photos. The project is described as a DECA paper implementation.

The pipeline works by detecting faces even when partially occluded, aligning all faces to a common template for consistent geometry, and using multi-scale blending to combine visible regions at different detail levels for natural results. It performs coverage analysis to track which facial regions are reconstructed versus missing, and applies quality weighting to prioritize clearer, higher-quality facial regions.

ReFaceNet outputs reconstructed face images alongside real-time coverage heatmaps that visualize reconstruction quality region by region, from high-coverage areas where multiple inputs contributed down to low-coverage areas with little visible data. It supports generation tracking for iterative improvement, feature-specific face masking of eyes, nose, mouth, cheeks, and forehead, and multi-method landmark detection with robust fallbacks.

Key Features

Tech Stack

Python OpenCV MediaPipe conda DECA

View on GitHub →

Designed and built by Roman Slack, Lead AI Platform Engineer. See more of Roman Slack's work on the projects page or get in touch via the contact page.