jakaskerl Hi I am also facing the same issue, I made the yolov8 blob and when I try to import it using oak.create_nn() it gives me this error
My version of depth ai SDK
pi@luxonis:~/Roving-Comforter $ pip show depthai-sdk
Name: depthai-sdk
Version: 1.12.1
Summary: This package provides an abstraction of the DepthAI API library.
Home-page: https://github.com/luxonis/depthai/tree/main/depthai_sdk
Author: Luxonis
Author-email: support@luxonis.com
License: MIT
Location: /home/pi/.local/lib/python3.9/site-packages
Requires: blobconverter, depthai, depthai-pipeline-graph, marshmallow, numpy, opencv-contrib-python, pytube, PyTurboJPEG, sentry-sdk, xmltodict
Required-by:
pi@luxonis:~/Roving-Comforter $
[2024-04-22 21:48:17] INFO [root.__init__:147] Setting IR laser dot projector brightness to 800mA
[2024-04-22 21:48:17] INFO [root.__exit__:408] Closing OAK camera
Traceback (most recent call last):
File "/home/pi/Roving-Comforter/testrun.py", line 132, in <module>
nn = oak.create_nn('/home/pi/Roving-Comforter/yolov8n_coco_640x352_openvino_2022.1_6shave.blob', color, tracker=True, spatial=True)
File "/home/pi/.local/lib/python3.9/site-packages/depthai_sdk/oak_camera.py", line 253, in create_nn
comp = NNComponent(self._oak.device,
File "/home/pi/.local/lib/python3.9/site-packages/depthai_sdk/components/nn_component.py", line 215, in __init__
self._spatial.depth.link(self.node.inputDepth)
AttributeError: 'depthai.node.NeuralNetwork' object has no attribute 'inputDepth'
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit