Comments (4)
Sorry for the late response. I did play with the landmarks a bit. The reason for the strage shape is that the model priors of shape / expression are too low, so the landmarks are tightly fit, but the reconstructed shape is unrealistic.
One thing to get better eye blinks reconstruction, you can use an additional loss to measure the distance between the upper / lower eyelid landmarks for the projected model landmarks and the target landmarks, and minimizing the difference between them. The loss (i.e. lmk_eye_dist
) would be something like that:
'model_lmks_dist = tf.subtract(tf.gather(lmks_proj_2d, [20, 21, 26, 27]), tf.gather(lmks_proj_2d, [24, 23, 30, 29]))
target_lmks_dist = target_2d_lmks[[20, 21, 26, 27]] - target_2d_lmks[[24, 23, 30, 29]]
lmk_eye_dist = 1.0*tf.reduce_sum(tf.square(tf.subtract(model_lmks_dist, target_lmks_dist))) / (factor ** 2)`
Another problem is that while FLAME is able to blink with the eyelids, but the blink of both eyes is quite correlated in the training data. Therefore, blinking only with one eye is difficult. You could use these additive blendshapes for left eye and right eye with weight [0,1] to close either eye for the FLAME template.
from tf_flame.
Can you share the set of landmarks? Then I can have a look into it.
from tf_flame.
Hi,please try this landmarks file! @TimoBolkart
wink.zip
from tf_flame.
Hi, do you try this landmark file?Any suggestions? @TimoBolkart
from tf_flame.
Related Issues (20)
- AlbedoMM Clipping Textures HOT 11
- About tf2.3.1
- Unlabelled mask region in Flame. HOT 1
- Directly fitting the 3D mesh
- Help with projection Matrix
- ImportError: cannot import name 'plyutils' HOT 2
- windows HOT 3
- texture_data_512.npy missing HOT 1
- How to dump FLAME paramters from fitting results? HOT 1
- where is female_model.pkl? HOT 1
- imgHQ00088_lmks.npy HOT 3
- match shape and expression in TF_FLAME and blender HOT 1
- How to improve Texture Image HOT 4
- Some really honest questions HOT 2
- how to make imgHQ00088_lmks.npy file?
- Jaw articulation parameters HOT 6
- Render checkboard-like texture on flame models HOT 1
- About registration
- FLAME expression base meaning
- How to obtain the texture_data_1024.npy file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf_flame.