This project implements a MATLAB-based solution for creating 3D face models using spline interpolation. The script allows users to manually select important facial landmarks using the getpts
function and generates a 3D model based on these control points.
- π― Manual selection of facial landmarks
- π Spline-based interpolation
- π 3D model generation
- πΌοΈ Interactive point selection interface
- π Visualization of the resulting 3D model
- MATLAB (R2020a or newer)
- Image Processing Toolbox
- Curve Fitting Toolbox
- Clone this repository:
git clone https://github.com/CS-Astronaut/InterPolation-3D-Modeling
- Open MATLAB and navigate to the project directory
- Run the main script:
run face_modeling.m
- Run the script
- Load your input face image
- Use the
getpts
function to select facial landmarks:- Click on important facial features
- Press Enter when done selecting points
- Wait for the 3D model generation
- View and interact with the resulting 3D face model
graph LR
A[Input Image] --> B[Manual Point Selection]
B --> C[Spline Interpolation]
C --> D[3D Model Generation]
D --> E[Visualization]