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

Some simple corrections #45

Open
mfatih7 opened this issue Apr 28, 2022 · 0 comments
Open

Some simple corrections #45

mfatih7 opened this issue Apr 28, 2022 · 0 comments

Comments

@mfatih7
Copy link

mfatih7 commented Apr 28, 2022

depth_clean = f['depth'].value

gives errors and can be corrected like

depth_clean = f['depth'][:]


Then

f2 = plt.imshow(data['depth'].astype(np.float))

can be corrected like

# f2 = plt.imshow(data['depth'])


changing

plt.imshow(rgb.transpose((1, 2, 0)).astype(np.float))

to

plt.imshow(rgb.transpose((1, 2, 0)).astype(np.float64))

prevents some warnings

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