orbbec / pyorbbecsdk

OrbbecSDK python binding
https://orbbec.github.io/pyorbbecsdk/
Apache License 2.0
67 stars 20 forks source link

fail to run examples/color_view.py and examples/save_image_to_disk.py with Astra S #27

Open cg3dland opened 7 months ago

cg3dland commented 7 months ago

I follow up the guide to install the Python binding for Orbbec SDK on my Linux PC (Ubuntu 22.04.4), attach an Astra S camera to this Linux PC, and then run the sample app depth_viewer.py successfully, please refer to the attached log depth.log.

But when I run the sample app color_viewer.py, I get following error and app abort abnormally, please refer to the attached log color_view.log: [02/29 16:11:43.291181][warning][449991][ObException.hpp:40] Start stream failed, OB_SENSOR_COLOR Match openni video mode failed! [02/29 16:11:43.291247][warning][449991][Pipeline.cpp:233] Execute failure! A libobsensor_exception has occurred!

BTW,I get following error when I run the sample app save_image_to_disk.py, and the app abort abnormally, please refer to the attached log save_image.log: [02/29 16:15:53.070439][warning][450206][ObException.hpp:40] Request failed, statusCode: 6, msg: device response with in consistent response id, nId=42, nRequestId=43 [02/29 16:15:53.070625][warning][450206][AbstractDevice.cpp:1272] Execute failure! A libobsensor_exception has occurred! - where:1272#switchD2CParams

Could you please help me to resolve the issues and make these 2 apps run at my side with Astra S?

Thanks,

color_view.log depth.log save_image.log

thaiph99 commented 6 months ago

@cg3dland I have the same problems with Astra Pro, so do you have any solutions for this? Any maintainer in here?

swarnabha13 commented 3 months ago

@cg3dland I have the exact same issue with Astra S. Were you able to resolve the problem?

Li-Zhi-Hao commented 3 months ago

Me too, have you solved the problem? Share it