Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 16773

Oak 1 crashes on raspberry pi 4 8gb ram only on usb 3.0

$
0
0

Im running an inference on a oak 1 using a raspberry pi 4 8gb ram, when i run it on usb 2.0 it workes perfectly for about 10 min (then it crashes, I think because of oak 1 heatting up). The real problem is when I try to use the camera with usb 3.0, it really just last for 5 seconds then it crashes, I dont think is a current consumption problem because is the only thing connected to the raspberry.

Here is the error I get:

Exception in thread Thread-1 (collect_frame_thread):Traceback (most recent call last):  File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_innerException in thread Thread-2 (collect_frame_thread):Traceback (most recent call last):  File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_innerTraceback (most recent call last):  File "/home/arana/roboflow-api-snippets/Python/LuxonisOak/./main.py", line 37, in <module>    self.run()    result, frame, raw_frame, depth = rf.detect()  File "/usr/lib/python3.11/threading.py", line 975, in run                                      ^^^^^^^^^^^    self.run()  File "/home/arana/.local/lib/python3.11/site-packages/roboflowoak/__init__.py", line 140, in detect  File "/usr/lib/python3.11/threading.py", line 975, in run    ret = self.dai_pipe.get()    self._target(*self._args, **self._kwargs)          ^^^^^^^^^^^^^^^^^^^  File "/home/arana/.local/lib/python3.11/site-packages/roboflowoak/pipe.py", line 244, in get  File "/home/arana/.local/lib/python3.11/site-packages/roboflowoak/pipe.py", line 407, in collect_frame_thread    self._target(*self._args, **self._kwargs)  File "/home/arana/.local/lib/python3.11/site-packages/roboflowoak/pipe.py", line 407, in collect_frame_thread    in_det = self.q_det.get()    in_raw = self.q_raw.get()             ^^^^^^^^^^^^^^^^RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'raw' (X_LINK_ERROR)'    in_raw = self.q_raw.get()             ^^^^^^^^^^^^^^^^RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'raw' (X_LINK_ERROR)'             ^^^^^^^^^^^^^^^^RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'nn' (X_LINK_ERROR)'[18443010C1E52C1300] [1.1.1] [1712631350.023] [host] [warning] Device crashed, but no crash dump could be extracted.

Ill be highly thankfull if someome can help me with this.

opencv-python 4.9.0.80roboflowoak 0.0.11


Viewing all articles
Browse latest Browse all 16773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>