When I am trying to execute this code, I've found an error below:
python3 ./face_recognition_demo.py \
> -m_fd face-detection-retail-0004.xml \
> -m_lm landmarks-regression-retail-0009.xml \
> -m_reid face-reidentification-retail-0095.xml \
> -fg /face_gallery \
> --run_detector \
> --allow_grow \
> -d_fd MYRIAD \
> -d_lm MYRIAD \
> -d_reid MYRIAD \
> -i cam
Traceback (most recent call last):
File "./face_recognition_demo.py", line 30, in <module>
from utils import crop
File "/home/pi/Desktop/open_model_zoo-develop/demos/face_recognition_demo/python/utils.py", line 19, in <module>
from models.utils import resize_image
File "/home/pi/Desktop/open_model_zoo-develop/demos/common/python/models/__init__.py", line 23, in <module>
from .open_pose import OpenPose
File "/home/pi/Desktop/open_model_zoo-develop/demos/common/python/models/open_pose.py", line 18, in <module>
import ngraph as ng
ModuleNotFoundError: No module named 'ngraph'
Thanks for reaching out to us.
For your information, nGraph module is not included in the OpenVINO™ Toolkit for Raspbian OS Package.
In order to import the nGraph module, you have to build Open Source OpenVINO™ Toolkit for Raspbian OS.
The steps for building Open Source OpenVINO™ Toolkit for Raspbian OS is available at the following article:
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.