Raspberry pi with oak-d, getting the error, suing the base image of raspberry pi

(oakd) purohit@raspberrypi:~/coding/depthai/depthai_sdk/examples/NNComponent $ cat /etc/os-release

PRETTY_NAME=”Debian GNU/Linux 12 (bookworm)”

NAME=”Debian GNU/Linux”

VERSION_ID=”12″

VERSION=”12 (bookworm)”

VERSION_CODENAME=bookworm

ID=debian

HOME_URL=”www.debian.org/

SUPPORT_URL=”www.debian.org/support

BUG_REPORT_URL=”bugs.debian.org/

Issue :

(oakd) purohit@raspberrypi:~/coding/depthai/depthai_sdk/examples/NNComponent $ python object_tracking.py

/home/purohit/coding/depthai/oakd/lib/python3.11/site-packages/depthai_sdk/oak_camera.py:220: UsbWarning: Device connected in USB2 mode! This might cause some issues. In such case, please try using a (different) USB3 cable, or force USB2 mode ‘with OakCamera(usb_speed=’usb2′) as oak:’

warnings.warn(“Device connected in USB2 mode! This might cause some issues. “

[1844301071F6711200] [1.1] [1723464565.331] [host] [warning] Device crashed, but no crash dump could be extracted.

(oakd) purohit@raspberrypi:~/coding/depthai/depthai_sdk/examples/NNComponent $

Tried with changing the USB2 mode ‘with OakCamera(usb_speed=’usb2′) as oak:’
still same issue

oakd) purohit@raspberrypi:~/coding/depthai/depthai_sdk/examples/NNComponent $ python object_tracking_monu.py

[1844301071F6711200] [1.1] [1723464745.996] [host] [warning] Device crashed, but no crash dump could be extracted.

using the USB 3.0 cable connected to Oad-d lite directly from rasberry pi 5 USb 3.0 port

Read more here: Source link