• DepthAI-v2
  • RuntimeError: Pipeline - 'DetectionNetwork'

Trying to run python code on the depth ai camera and getting this error:
RuntimeError: Pipeline - 'DetectionNetwork' node with id: 2, isn't compatible with forced OpenVINO version

I was trying this example
https://github.com/luxonis/depthai-experiments/tree/master/gen2-license-plate-recognition

But have tried other examples and get this error.
RuntimeError: Device booted with different OpenVINO version that pipeline requires

I have tried different versions of openvino. Right now I have 2021.1

Not sure what else to send so let me know what other info you need to know.

Thanks -Dave


  • erik replied to this.

    Hello digital6 ,
    I just tried out the gen2-license-plate-recognition and it works as expected, there's only the warning OpenVino version 2020.1 is deprecated and will be removed in the next release!. Do you have the latest 2.5.0 version of the depthai library? You can check with python3 -mpip show depthai
    Thanks, Erik

    I have the following:
    Name: depthai
    Version: 2.0.0.1

    What's the best way to upgrade?

      digital6 run python3 -mpip install depthai==2.5.0.0 and hopefully your issue will be resolved 🙂

      5 days later

      So I did the depthai update and ran the following:
      python main.py -vid ./chinese_traffic.mp4

      and got the following:
      PS C:\pythonprojects\LPR_luxonis> python main.py -vid ./chinese_traffic.mp4
      Creating pipeline...
      Creating License Plates Detection Neural Network...
      Creating Vehicle Detection Neural Network...
      Pipeline created.
      Traceback (most recent call last):
      File "main.py", line 311, in <module>
      with dai.Device(create_pipeline()) as device:
      RuntimeError: Pipeline - 'DetectionNetwork' node with id: 0, isn't compatible with forced OpenVINO version

      • erik replied to this.