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

What's the focal_lenght in normal_from_depth? #41

Open
inkzk opened this issue Oct 10, 2024 · 2 comments
Open

What's the focal_lenght in normal_from_depth? #41

inkzk opened this issue Oct 10, 2024 · 2 comments

Comments

@inkzk
Copy link

inkzk commented Oct 10, 2024

Specifically, how to set the focal_length here?
def surface_normal_from_depth(depth, focal_length, valid_mask=None):

Moreover, any scale preprocess to NYUv2 depth? I read it from depth png.
Thank u

@fuxiao0719
Copy link
Owner

fuxiao0719 commented Oct 10, 2024

Hi, please refer to test_nyu.sh in Metric3D github for detail.

@inkzk
Copy link
Author

inkzk commented Oct 11, 2024

Hi, please refer to test_nyu.sh in Metric3D github for detail.

Seems it ignored the surface normal part

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

2 participants