Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get depth image? #9

Open
JoinTyang opened this issue Dec 30, 2019 · 3 comments
Open

how to get depth image? #9

JoinTyang opened this issue Dec 30, 2019 · 3 comments

Comments

@JoinTyang
Copy link

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

@deepdarkfans
Copy link

I have the same problem ,do you solve it?

@bianlongpeng
Copy link

@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!

@punitha-valli
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants