A Python tool that converts 2D face images to 3D OBJ models using MediaPipe's 468 facial landmarks. Perfect for creating 3D face models for Blender, Unity, or other 3D software.
Author: Ahmet Mert Şengöl
Generated Texture Map
|
Original 2D Image
|
- 🎯 Converts 2D photos to 3D face models (OBJ format)
- 🚀 Fast processing on CPU
- 🎨 Generates texture maps automatically
- 🖼️ Works with both photos and illustrations
pip install -r requirements.txtpython app.pyOpen http://localhost:8080 in your browser.
python simplified_mp_to_obj.py -i <input_image.jpg> -o <output_name>Output: Generates *.obj, *.mtl, and *_texture.jpg files.
app.py- Web interface (recommended)simplified_mp_to_obj.py- Command-line version
MIT License - see LICENSE file for details.
Copyright (c) 2025 Ahmet Mert Şengöl


