yinghao-li / 3dmm-fitting Goto Github PK
View Code? Open in Web Editor NEWFit 3DMM to front and side face images simultaneously.
Fit 3DMM to front and side face images simultaneously.
I run the fitting_test.py and it displays so cool.
And i want to ask the how to get these files and what is the sfm ?
/py_share/py_sfm_shape_3448.bin"
/py_share/py_sfm_3448_edge_topology.json
/py_share/ibug_to_sfm.txt'
Also, i want to use bfm model ,53490 vertices and what should i change?
Thank you very much, and look forward to your reply
Is there a way to fit face without profile face?
I use these code in function fit_fandp_to_landmarks_linear()
, but it doesn't fit facial expression well.
num_front_landmarks = len(front_landmarks)
num_profile_landmarks = len(profile_landmarks)
#num_total_landmarks = num_front_landmarks + num_profile_landmarks
num_total_landmarks = num_front_landmarks
test data:
save file as 'image_0146.pts'
image_0146.txt
save image as 'image_0146.png'
and here is the result:
https://i.loli.net/2018/07/28/5b5c2406b1053.png
Hello, @Yinghao-Li ! I am very grateful to you for this project!
I have a question: is it possible to generate a model with a neck?
In the 3-D Morphable Model Fitting section of README, you show a model with a neck. Was this model generated with 3DMM-fitting or it is a just another model for example?
Maybe at some point you just crop the model and leave only the face? In which place of the code?
If you are using an already cropped model, can I somehow use another model (with a neck) instead of this one? How I can do this?
Thank you very much!
hoe to get the texture basis parameters?
I am attracted by this project. After reproducing it, I do feel the result is good. But I am a little bit sad that I have to generate 26 points manually for profile face. Is there any easier way to fix the trivial works problem? I would be very glad if anybody can give me some help.
I am really stuck at this point and want to convert my 3d face image to 2d image for depth label to my FCN?
Any help will really get me through.
Thanks in advance.
Hi, could you provide the following test data? thanks.
'00029ba010_960521.png', '00029ba010_960521.pts'
'00029pr010_940128.png', '00029pr010_940128.pts'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.