Search code examples
pythonopencvintelopenvino

OPENVINO-python, cannot import name 'IEPlugin' from 'openvino.inference_engine'


I am trying to run a project developed with openvino 2019. I have version 2021 and I cannot downgrade to the old version. According to intel, the IENetwork and IEPlugin class has already been eliminated. What do you recommend for it to work? I attach the repository: https://github.com/vyzboy92/people_detection_tracking-CPU/blob/master/multi_camera_people_detection.py

enter image description here


Solution

  • EDIT: I realized in the installation guide, the version selection doesn't go below than 2020, so use below answer.

    You could install it on their GitHub. Looking at the directories of the source code, it looks like the python library is at

    openvino-2019_R3.1\inference-engine\ie_bridges\python\src\openvino
    

    Try uninstalling the latest version and put the openvino folder located at inference-engine\ie_bridges\python\src\ in your site-packages.