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

generate_depth_map issue problem #2

Open
YangJae96 opened this issue May 1, 2020 · 0 comments
Open

generate_depth_map issue problem #2

YangJae96 opened this issue May 1, 2020 · 0 comments

Comments

@YangJae96
Copy link

Hello. I am trying to convert a disparity map to Point Cloud using your source.
But here I have a problem first in RealDepth.py def " generate_depth_map".
Could you tell me what the value of these are in generate_dept_map function?
x = np.array([5, 32, 50, 100, 200])
y = np.array([9, 2, 1.5, 1, 0])
coeff = np.polyfit(x, y, 3)
height_a = 0.9
width_a = 1.2
depth_a = 1.5
height_b = 0.5
width_b = 0.67
depth_b = 0.75

Do those value come from your own image??
I am trying to use my image and my disparity image.
Can you tell me how to change those values from my image?

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

1 participant