NextFace icon indicating copy to clipboard operation
NextFace copied to clipboard

How to render a picture without eyes?

Open Tianxinhuang opened this issue 2 years ago • 4 comments
trafficstars

Dear author,

Thank you for the great work. During the reproducing process, I noticed that the rendering result is with eye balls, while the paper results do not have that. I wonder how can we render such a result without eyeball? Thank you very much.

Tianxinhuang avatar Oct 18 '23 05:10 Tianxinhuang

bump, I need this also will install soon but that's why I'm choosing this tool

Inferencer avatar Dec 19 '23 19:12 Inferencer

I find that the eyes can be removed by removing eyes in the mesh models. So, I edit the original average face to achieve this

Tianxinhuang avatar Dec 20 '23 02:12 Tianxinhuang

I find that the eyes can be removed by removing eyes in the mesh models. So, I edit the original average face to achieve this

good tip not sure why I was going to remove eyes in post, do you find the outer eye skin alignment is good for single image or does the skin show when overlapped with original footage

also I can't see the base model to edit, I was expecting to find an obj or similar in either the repo or download links can you point me in the direction of this, perhaps it will appear when I start inference but would be good to know if I'm being blind

Inferencer avatar Dec 20 '23 18:12 Inferencer

Hi, I do this just to enhance the visualization performances after overlapping with the original face image, as this model do not have eye ball model to control the sight direction. As for the editing, the meshes are actually constructed by vertices and faces. The visualization is controlled by topology of vertices saved in "face32" variable in pipeline.py. If you remove some rows in that variable, corresponding areas will be removed in rendered images. You can open any generated face mesh obj, remove any area with meshlab, and finally get your required topology from the new obj file.

Tianxinhuang avatar Dec 26 '23 04:12 Tianxinhuang