Comments (6)
When you see this failing - do you still have an Internet connection, can access other online resources?
Seems a network connection could not be established anylonger.
Could it be a power-supply issue (while installing the SoC is heating up, a lot of processing power required), or simply a loose connection?
from depthai.
Interesting. I turned it off and let it cool down. Then restarted and then it installed fine. Not sure if it is a loose connection or over power issue. I have a feeling whatever the problem is that it will resurface.
from depthai.
There seems to be some connection problem, although now with the USB. When I run the first demo, it initially works (I see the depth and color images), and then after a couple seconds it fails:
python3 depthai_demo.py -gt cv
Using depthai module from: /home/ubuntu/.local/lib/python3.10/site-packages/depthai.cpython-310-aarch64-linux-gnu.so
Depthai version installed: 2.21.2.0
Setting up demo...
Available devices:
[0] 19443010817AF71200 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
Stopping demo...
=== TOTAL FPS ===
[color]: 6.4
[disparity]: 6.4
[disparityColor]: 6.4
[nn]: 0.0
Traceback (most recent call last):
File "/home/ubuntu/depthai/depthai_demo.py", line 1053, in <module>
runOpenCv()
File "/home/ubuntu/depthai/depthai_demo.py", line 1043, in runOpenCv
demo.run_all(confManager)
File "/home/ubuntu/depthai/depthai_demo.py", line 133, in run_all
self.run()
File "/home/ubuntu/depthai/depthai_demo.py", line 317, in run
self.loop()
File "/home/ubuntu/depthai/depthai_demo.py", line 373, in loop
self._pv.prepareFrames(callback=self.onNewFrame)
File "/home/ubuntu/.local/lib/python3.10/site-packages/depthai_sdk/managers/preview_manager.py", line 148, in prepareFrames
packet = queue.tryGet()
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'color' (X_LINK_ERROR)'
from depthai.
Is your HW operating under rough conditions like heat, vibrations?
Do you run your "RPi 4" with a battery, would you have a chance to use another power-supply?
Could it be maybe a broken "RPi 4"?
Can you run any other heavy job on the system like compressing&decompressing (ZIP?, tar& ), or video-transcoding (VLC? gstreamer?) to see if your HW is "stable under heavy load"?
from depthai.
It is using a battery, but no harsh conditions. I might be able to try a different power supply. I could also try some heavy jobs, although not sure how to measure stability.
from depthai.
There could be peaks in energy consumption which the battery temporarily could not provide. A bigger power-supply (or additional battery/batteries in parallel to the first) might help...
Compress a big file (e.g. video-file) and create a SHA checksum - and compare with the checksum of the same file, but calculated on a different machine.
Transcode a video-file - a visual inspection might not reveal optical artifacts - but maybe the transcoding will generate error-/warning-messages.
Sorry if all this leads to nothing... energy consumption (or heat?, or loose connection?) is just a guess...
from depthai.
Related Issues (20)
- [BUG] {SDK tracker visualization error on 1.13.0+}
- [BUG] Dependency installation issues HOT 8
- [Feature-Request] Implement best practice for Python logging
- [Feature-Request] Resize mono camera using `config_camera`
- exited with status 100 at line 216[BUG] {Title of the bug} HOT 2
- [BUG] connectivity issue
- [BUG] {wrong image rectification using stereo StereoDepth on oak-d-lite} HOT 3
- [BUG] Camera capture delay between RGB images and disparity images. HOT 2
- calibration doesn work in depthai python into env. or with ROS launch HOT 9
- [BUG] {Depth quality difference between OAK-D-LITE models} HOT 7
- [BUG] Demo application does not work with SR HOT 2
- [BUG] {Failed installing dependencies. Could be a bug in the installer or unsupported platform.} HOT 1
- [BUG] {Imu has not been utilized in rtabmap.launch.py}
- [BUG] {Missing 'total_num_of_captured_images'} HOT 1
- [BUG] Callibration does not work with OAK-D-SR. HOT 1
- [BUG] Raspberry Pi OS Bookworm on Pi 5: urllib3 or chardet/charset_normalize doesn't match a supported version HOT 1
- web page integration HOT 1
- dai::XLinkWriteError on deploying custom blob on OAK-D pro HOT 1
- Problems with RGB Camera Control 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 depthai.