taylorlu / FaceConverter

Face swap and 3D alignment from a single image based on PRNet
109 stars 32 forks source link

Overlay face on static image #3

Open Ar7Style opened 5 years ago

Ar7Style commented 5 years ago

Dear Dong Lu, Thank You a lot for that awesome face converter! Could You please tell, is it possible to overlay ref.jpg on image instead of camera live stream?

Would be really appreciate for help!

taylorlu commented 5 years ago

Sure, you can use renderTexture to process only one frame. https://github.com/taylorlu/FaceConverter/blob/66831c1ecaf727d3508cb4e0a916921b032aa351/FaceConverter/ComViewController.mm#L375 Moreover, it's more convenient to use python to do so if you are familiar with PRNet.

liliangwor commented 4 years ago

您好,这个模型det2.param,det2.bin如何训练自己的landmark模型?

liliangwor commented 4 years ago

我好像总是加不了自己的模型,格式不对