Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

openvino error

dengyu
Novice
1,184 Views

 

please help me

raspberry4b + ncs2

openvino : 2021.3

dengyu_0-1625627659196.png

 

my import

from openvino.inference_engine import IENetwork
from openvino.inference_engine import IEPlugin
from intel.yoloparams import TinyYOLOV3Params
from intel.tinyyolo import TinyYOLOv3
from imutils.video import VideoStream
from pyimagesearch.utils import Conf
from imutils.video import FPS
import numpy as np
import argparse
import imutils
import time
import cv2
import os
import urllib

0 Kudos
7 Replies
Alberto_R_Intel
Employee
1,159 Views

dengyu, Thank you for posting in the Intel® Communities Support.


In order for us to provide the most accurate technical support on this matter, I just moved your case to the proper department, they will further assist you with this topic as soon as possible.


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
Wan_Intel
Moderator
1,133 Views

Hi Dengyu,

Thank you for reaching out to us.


We have migrated from Inference Engine Plugin API to Inference Engine Core API since OpenVINO™ toolkit 2021.1 onwards. As such, Inference Engine Python API is not compatible with OpenVINO™ toolkit 2021.1 onwards.


The IEPlugin class is deprecated. Use IECore instead. You may refer to:

https://docs.openvinotoolkit.org/2020.4/ie_python_api/classie__api_1_1IEPlugin.html#detailed_description


The Detailed Description of IECore class is available at the following page:

https://docs.openvinotoolkit.org/2021.4/ie_python_api/classie__api_1_1IECore.html#detailed_description


Regards,

Wan


0 Kudos
dengyu
Novice
1,121 Views
0 Kudos
dengyu
Novice
1,113 Views

dengyu_0-1625795017536.png

 

Sorry sir

I am a novice

This is my error   

0 Kudos
Wan_Intel
Moderator
1,092 Views

Hi Dengyu,

Thanks for your information.

 

For your information, you can install OpenVINO™ toolkit 2020.3.341 for Raspbian* OS to run detect_realtime_tinyyolo_ncs.py without making changes on the codes.

 

I have tested detect_realtime_tinyyolo_ncs.py using OpenVINO™ toolkit 2020.3.341 on Raspberry Pi 4B with Intel® Neural Compute Stick 2. You can run detect_realtime_tinyyolo_ncs.py with the following command:

cd <path_to_skripsi-object-detection-master>

source /opt/intel/openvino/bin/setupvars.sh

python3 detect_realtime_tinyyolo_ncs.py -c <path_to_config.json> -i <path_to_video.mp4>

 

 

Regards,

Wan

 

0 Kudos
dengyu
Novice
1,073 Views

Thank you sir. I succeeded in the test

0 Kudos
Wan_Intel
Moderator
1,034 Views

Hi Dengyu,


This thread will no longer be monitored since we have provided a solution. 

If you need any additional information from Intel, please submit a new question.



Regards,

Wan


0 Kudos
Reply