- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Support Team,
It was my first time running the openvino toolkit and i plan to run a demo below are the step that i do for installation:
Step 1: Create virtual environment
python -m venv openvino_env
Step 2: Activate virtual environment
openvino_env\Scripts\activate
Step 3: Upgrade pip to latest version
python -m pip install --upgrade pip
Step 4: Download and install the package
pip install openvino-dev==2022.3.1
then i clone the toolkit and place in drive C:
https://github.com/openvinotoolkit/openvino.git
then i download openzoo
https://github.com/openvinotoolkit/open_model_zoo/tree/master/demos/face_recognition_demo/python
To run the project
1) setup environment: openvino_env\Scripts\activate
2)Initiate setupvar variable : "C:\openvino\scripts\setupvars\setupvars.bat"
3) then run the command
python ./face_recognition_demo.py ^
-i /video.mp4 ^
-m_fd /intel/face-detection-retail-0004/FP32/face-detection-retail-0004.xml ^
-m_lm /intel/landmarks-regression-retail-0009/FP32/landmarks-regression-retail-0009.xml ^
-m_reid /intel/face-reidentification-retail-0095/FP32/face-reidentification-retail-0095.xml ^
--verbose ^
-fg "C:/Users/aisignage/Desktop/Openvino/open_model_zoo/demos/face_recognition_demo/python/dataset"
Receive Error
Traceback (most recent call last):
File "./face_recognition_demo.py", line 26, in <module>
from openvino.runtime import Core, get_version
File "C:\Users\aisignage\Desktop\Openvino\openvino_env\lib\site-packages\openvino\runtime\__init__.py", line 12, in <module>
from openvino._pyopenvino import get_version
ImportError: DLL load failed while importing _pyopenvino: The specified module could not be found.
Some troubleshooting:
pip show openvino
Name: openvino
Version: 2022.3.1
Summary: OpenVINO(TM) Runtime
Home-page: https://docs.openvino.ai/latest/index.html
Author: Intel(R) Corporation
Author-email: openvino_pushbot@intel.com
License: OSI Approved :: Apache Software License
Location: c:\users\desktop\openvino\openvino_env\lib\site-packages
Requires: numpy
Required-by: openvino-dev
May i know how to solve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The setupvars.bat
need download from here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Reyes00,
Thank you for reaching out to Intel Customer Support.
Here are the steps that you can use to run Intel Open Model Zoo Demos with Intel Pre-Trained Models.
For OpenVINO Runtime:
Step 1: Download OpenVINO 2022.3.1 from here
Step 2: Unzip the file
Step 3: Initialize Environment
Open Command Prompt
Go to the OpenVINO directory
Run setupvars.bat
Step 4: Clone Open Model Zoo
git clone -b 2022.3.1 https://github.com/openvinotoolkit/open_model_zoo.git
Download all the required models
Step 5:
Run the demo:
python face_recognition_demo.py -i video.mp4 -m_fd face-detection-retail-0004.xml -m_lm landmarks-regression-retail-0009.xml -m_reid face-reidentification-retail-0095.xml -fg face_gallery
For OpenVINO-Dev
Step 1: Create a virtual environment
python -m venv openvino_env
Step 2: Activate virtual environment
openvino_env\Scripts\activate
Step 3: Upgrade pip to the latest version
python -m pip install --upgrade pip
Step 4: Download and install the package
pip install openvino-dev==2022.3.1
Step 5: Clone Open Model Zoo
git clone -b 2022.3.1 https://github.com/openvinotoolkit/open_model_zoo.git
Download all the required models
Run the demo:
python face_recognition_demo.py -i video.mp4 -m_fd face-detection-retail-0004.xml -m_lm landmarks-regression-retail-0009.xml -m_reid face-reidentification-retail-0095.xml -fg face_gallery
Sincerely,
Zulkifli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page