NobuoTsukamoto / realsense_examples

MIT License
4 stars 0 forks source link

Unsupported image format. #1

Open Zumbalamambo opened 3 years ago

Zumbalamambo commented 3 years ago

I tried to execute the example. Unfortunately it throws the following error. Any possible fixes?

map.py", line 66, in run
    temp_pcd = o3d.geometry.PointCloud.create_from_rgbd_image(
RuntimeError: [Open3D ERROR] [CreatePointCloudFromRGBDImage] Unsupported image format.
NobuoTsukamoto commented 3 years ago

It doesn't reproduce in my environment. Please tell me the details. Please tell me all the output to the console when it is executed. Also, please tell us the OS and Open3D version.

My environment is as follows.

When executed, the following log will be output and the screen will be displayed.

# Path to realsense_examples/python/open3d/

$ python realsense_pcd_viewer.py --config=config/l515.config 
[Open3D INFO] [0] Intel RealSense L515: f0220613
[Open3D INFO]   depth_resolution: [1024,480 | 1024,768 | 320,240 | 640,480]
[Open3D INFO]   depth_format: [RS2_FORMAT_Z16]
[Open3D INFO]   visual_preset: [RS2_L500_VISUAL_PRESET_CUSTOM | RS2_L500_VISUAL_PRESET_DEFAULT | RS2_L500_VISUAL_PRESET_LOW_AMBIENT | RS2_L500_VISUAL_PRESET_MAX_RANGE | RS2_L500_VISUAL_PRESET_NO_AMBIENT | RS2_L500_VISUAL_PRESET_SHORT_RANGE]
[Open3D INFO]   color_fps: [15 | 30 | 6 | 60]
[Open3D INFO]   depth_fps: [30]
[Open3D INFO]   color_resolution: [1280,720 | 1920,1080 | 640,360 | 640,480 | 960,540]
[Open3D INFO]   color_format: [RS2_FORMAT_BGR8 | RS2_FORMAT_BGRA8 | RS2_FORMAT_RGB8 | RS2_FORMAT_RGBA8 | RS2_FORMAT_Y16 | RS2_FORMAT_YUYV]
[Open3D INFO] Open3D only supports synchronized color and depth capture (color_fps = depth_fps).
Load json:  config/l515.config
Sensor initialized. Press [ESC] to exit.
[Open3D INFO] Capture started with RealSense camera f0220613