yfeng95 / face3d

Python tools for 3D face: 3DMM, Mesh processing(transform, camera, light, render), 3D face representations.
2.65k stars 611 forks source link

Using it on custom 2D images #38

Open lirus7 opened 5 years ago

lirus7 commented 5 years ago

Hey, Thanks for the project. I actually wanted to generate depth maps of custom 2D images which I have. How can I do that with this project (and if it can be done or not)?

decajcd commented 4 years ago

Do you figure out how to do this ? I have the same question with you, the author's PRent can do it, but it's quite slow, someone said that version can, but I dont konw how to do,.if you have figured it out, can you give some hint?

Have you sovled it?

gjd2017 commented 4 years ago

hahaha, I have solved it.

ZhiRuoo commented 4 years ago

@gjd2017, I am able to run the project for the default data, how to make it work for my custom images. can you help? Thanks in advance.

gjd2017 commented 4 years ago

@ZhiRuoo Use PRNet and cython tools.

QWERDF007 commented 4 years ago

@gjd2017 I use PRNet to generate mesh data and i use it 1_pipeline.py, but i get a black image without face. can you help? Thanks.

Ianloves commented 4 years ago

@gjd2017 I use PRNet to generate mesh data and i use it 1_pipeline.py, but i get a black image without face. can you help? Thanks.

Hi, have you solved this problem? I also got a black image when I use the mesh data generated in PRNet.

fashionguy commented 3 years ago

@Ianloves I get a black image too. But after mutli 255 in 1_pipeline.py the last line, I get a face image.