GithubHelp home page GithubHelp logo

Comments (6)

brmarkus avatar brmarkus commented on June 12, 2024

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.

dmorris0 avatar dmorris0 commented on June 12, 2024

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.

dmorris0 avatar dmorris0 commented on June 12, 2024

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.

brmarkus avatar brmarkus commented on June 12, 2024

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.

dmorris0 avatar dmorris0 commented on June 12, 2024

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.

brmarkus avatar brmarkus commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.