luxonis / depthai-python

DepthAI Python Library
MIT License
362 stars 192 forks source link

Enabling jumbo frames #817

Open jvanvugt opened 1 year ago

jvanvugt commented 1 year ago

I'm trying to enable Jumbo frames on my Oak-D Pro POE camera, as per the procedure from the docs:

config = dai.Device.Config()
config.board.network.mtu = 9000 # Jumbo frames. Default 1500
device = dai.Device(config)

However, I then get the following error when initializing the device (even though I'm not using any of the OpenVINO related functionality):

RuntimeError: OpenVINO 2020.3 is not available anymore

I'm using depthai version 2.20.2.0.

themarpe commented 1 year ago

@jvanvugt

Sorry for this issue - regression in that specific release. Do you mind trying with latest or develop (can be installed by cloning depthai-python and git checkout develop && git submodule update --init --recursive then python3 examples/install_requirements.py

petya5q commented 1 year ago

Edit: Seems that I am trying to open an old tutorial that probably needs updates of the blobs, so might not at all be related to this thread.


Trying to run the face-detection-retail-0004.py demo and got the same RuntimeError: OpenVINO 2020.3 is not available anymore. Followed the instructions in the last post got this error during installing requirements but I still see this runtime error. I am using camera oak d lite. Listing the versions via pip display that I already higher version of openvino. openvino 2022.3.0 depthai 2.21.2.0

Erol444 commented 1 year ago

Hi @petya5q , which demo are you trying? And yes you are correct on the old blob versions, we'll update it asap.

petya5q commented 1 year ago

@Erol444 2-face-detection-retail

Erol444 commented 1 year ago

@petya5q depthai-tutorials, I see. Perhaps you could use https://github.com/luxonis/depthai-experiments/tree/master/gen2-age-gender (or similar) that uses the same model.

petya5q commented 1 year ago

Thanks @Erol444 ! I tried some things and decided to just start building some things from scratch, the best way of learning. Thanks for the tutorials, they are great start!