PRNet_PyTorch icon indicating copy to clipboard operation
PRNet_PyTorch copied to clipboard

how to get depth image?

Open JoinTyang opened this issue 5 years ago • 3 comments

how can I get depth image, I get only black image

JoinTyang avatar Dec 30 '19 11:12 JoinTyang

I have the same problem ,do you solve it?

deepdarkfans avatar Aug 01 '20 06:08 deepdarkfans

@JoinTyang Firstly, to get the depth image, you shuold reference YadiraF/PRNet Repository! There are writes.py and api.py. Secondly, set depth_image = get_depth_image(vertices, prn.triangles, h, w, True) to depth_image = get_depth_image(vertices, prn.triangles, h, w, False), then run your code, and you will get the depth image!

bianlongpeng avatar Jan 19 '21 06:01 bianlongpeng

@bianlongpeng @deepdarkfans @JoinTyang @tomguluson92 depth_image = get_depth_image(vertices, prn.triangles, h, w, True) to depth_image = get_depth_image(vertices, prn.triangles, h, w, False)

So here the function get_depth_image(), where it should be import from ?

Hope for a reply

Thanks in advance

punitha-valli avatar Apr 07 '21 05:04 punitha-valli