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

Problem with jupyter distance_to_object Notebook Intel Real Sense #4579

Closed
candrescn opened this issue Aug 6, 2019 · 4 comments
Closed

Problem with jupyter distance_to_object Notebook Intel Real Sense #4579

candrescn opened this issue Aug 6, 2019 · 4 comments
Labels

Comments

@candrescn
Copy link

Hi, I'm trying to run this example with the guide https://github.com/IntelRealSense/librealsense/blob/jupyter/notebooks/distance_to_object.ipynb

Perfectly arrive in In [4] and Out [4]

but when arriving at the lines In [5]:

colorizer = rs.colorizer ()

colorized_depth = np.asanyarray (colorizer.colorize (depth_frame) .get_data ())

plt.imshow (colorized_depth)

throws me an error: np.asanyarray (colorizer.colorize (depth_frame) .get_data ()) RuntimeError: null pointer passed for argument "frame"

I'm stuck there and I don't know what to do, maybe you can help me?

@dorodnic i need your help pleaseee


Required Info
Camera Model { D435 }
Firmware Version (Open RealSense Viewer
Operating System & Version (Ubuntu 16
Kernel Version (Linux Only) 4.14.13)
Platform UPboard.
SDK Version
Language python }
Segment {Robot/Smartphone/VR/AR/others }
@dorodnic dorodnic added the python label Aug 6, 2019
@candrescn
Copy link
Author

Hello @dorodnic , you may have some idea how to solve it, I tried to config.enable_stream and run pipeline with parameter config but I still get the same error.

@lramati
Copy link
Contributor

lramati commented Sep 2, 2019

I couldn't reproduce your issue, but I just opened #4787 to try and fix some other issues. Could you see if the following binder link to my fork works for you?

Binder

@RealSenseCustomerSupport
Copy link
Collaborator


HI @candrescn,

Did you try the update from @lramati and see how it works?

@RealSenseCustomerSupport
Copy link
Collaborator


HI @candrescn,

I will close this if no additional question.

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

No branches or pull requests

4 participants