3D face reconstruction

A real-time facial landmark detection and 3D model generation tool using MediaPipe and OpenCV. This application captures facial landmarks through your webcam and allows you to export them as 3D models in OBJ format.

Implementation

  • Used MediaPipe’s Face Mesh to detect and track 468 facial landmarks in real time from webcam feed
  • these landmarks are rendered as a mesh overlay on the video feed using OpenCV, with custom scaling for better 3D visualization
  • When saved, converts the facial landmarks into a 3D mesh and saves it as an OBJ file with proper vertex and face topology

Github Repo for this project : link

Screenshot 2024-11-06 at 12 40 17 PM