TimoBolkart / BFM_to_FLAME

Convert from Basel Face Model (BFM) to the FLAME head model
http://flame.is.tue.mpg.de
411 stars 50 forks source link

location to put custom basel face model #23

Open chency0315 opened 1 year ago

chency0315 commented 1 year ago

my basel model doesn't include the neck, can it still work?

chency0315 commented 1 year ago

after I run col to text I got this error ValueError: can only convert an array of size 1 to a Python scalar

TimoBolkart commented 1 year ago

How do you get the custom basel face model? By excluding / masking some vertices from the original BFM model?

chency0315 commented 1 year ago

Thanks for your response and work, I generated the model from nextface and then I turn it into npy but I got this error ValueError: can only convert an array of size 1 to a Python scalar

TimoBolkart commented 1 year ago

Instead of the cropped face of NextFace, use its predicted parameters and reconstruct the full, non-cropped BFM2017 head mesh. This you can then directly convert with the provided demo code

chency0315 commented 1 year ago

Thanks for responding, where can I reconstruct the full, non-cropped BFM2017 head mesh?

sanbuddhacharyas commented 1 year ago

@chency0315 did you create full non cropped BFM2017 head mesh? Thank you Your suggestion will be very much helpful to me.