Items with no label
3335 Discussions

Problem with jupyter distance_to_object Notebook Intel Real Sense

CCAIZ1
Beginner
605 Views

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?

0 Kudos
1 Reply
MartyG
Honored Contributor III
295 Views

You can communicate directly with Dorodnic, the author of the distance_to_object guide, by visiting the RealSense GitHub at the link below and clicking the New Issue button to repost your question there. Please reference @dorodnic in your message there to highlight that you would like input from him in particular.

https://github.com/IntelRealSense/librealsense/issues

0 Kudos
Reply