Comments (6)
Looking into the code the problem arises from this line and that it does not check if the device has been opened before. Then again, this might be an issue of librealsense
.
Edit: Yes, I was able to run the camera using the librealsense
examples
from pyrealsense.
the exception seems valid. I think the real problem is:
ERROR:pyrealsense.utils: get_stream_ctrl_format_size(...) returned Invalid mode
from pyrealsense.
I agree, that this is the actual problem for us, but an unhandled exception during an exception is not something one usually wants.
Edit: I will open a new issue concerning the returned invalid mode. @toinsson can decide if the current issue requires fixing.
from pyrealsense.
did you get the error on first run of python3 show_cv2.py
, just after installing everything?
If yes, then this should be fixed - the examples must run out of the box.
I am wondering if the issue is with the camera and service not being exited properly. There are difference between platform, and closing the example on Mac might leave something running in the background.
from pyrealsense.
Yes, I got this consistently. This is due to #42 . I think the example closes everything correctly.
from pyrealsense.
ok, I'll try to reproduce this next week.
from pyrealsense.
Related Issues (20)
- How to get the focal length? How to get the sensor height? HOT 2
- Can't import rs_option
- I am unable to perform import pyrealsense in Windows 7 64-bit with Python 2.7 in Anaconda (Similar to issue #31) HOT 2
- problem with loading calibration data by pyrealsense
- install pyrealsense error HOT 1
- Cant measure distances with PyRealSense HOT 1
- Trying to install under Arch Linux x86_64 HOT 7
- ValueError: '<P' is not a valid PEP 3118 buffer format string HOT 11
- Issue with LRS 1.12.1 and PRS 2, R200 & F200 devices not detected on UP2 HOT 9
- Problems installing pyrealsense via pip3 and manually using setup.py
- add numpy as requirement
- pyrealsense Error:'NoneType' object has no attribute 'deproject_pixel_to_point'
- installing pyrealsense HOT 1
- depth measurement
- Installation Problem HOT 4
- Install librealsense-1.12.1 and pyrealsense on Raspberry Pi4 for F200 HOT 1
- pip install keeps failing HOT 1
- Install issues HOT 1
- generate point cloud data of human
- Error Installing pyrealsense for RealSense R200 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrealsense.