ascust / 3DMM-Fitting-Pytorch

A 3DMM fitting framework using Pytorch.
600 stars 95 forks source link

Could you please share the code to generate the GIF of fitting process ? #22

Closed wwdok closed 2 years ago

wwdok commented 2 years ago

Like this gif:https://github.com/ascust/3DMM-Fitting-Pytorch/blob/master/gifs/demo.gif

ascust commented 2 years ago

Do you mean how to paste the fitting result back to the original image?

wwdok commented 2 years ago

Yes, almost that meaning, but also compose the whole fitting process as a animation to a GIF image

ascust commented 2 years ago

The GIF was not generated by code. I just saved all the frames, composed them into a video and converted it using some off-the-shelf tool. The only thing you need to do is to refer to the part (starting from line 116 in "fit_single_img.py" ) of saving the results and insert it into the fitting loop. Thats it.

wwdok commented 2 years ago

Ok, i got it, thanks !