Outils pour utilisateurs

Outils du site


pose_estimation_avec_intel_ncs2_et_openvino

Ceci est une ancienne révision du document !


Intel Neural Compute Stick 2

Le Intel Neural Compute Stick 2, NCS2 fonctionne ave OpenVINO, un fork de OpenCV adapté à ce stick.

OpenVINO

Intel Neural Compute Stick 2 est un calculateur, adapté aux produits Intel, dixit Intel.
IL a été concu pour être un calculateur sur un PC sans GPU, genre Raspberry Pi.

OpenVINO est un fork de OpenCV, optmisé pour les produits Intel:

  • Intel Neural Compute Stick 2
  • Le GPU intégré aux CPU Intel: genre HD 530

Installation de OpenVINO

Installation

realsense

Conversion du caffemodel en Intermediate Representation IR

Convert a Caffe* Model to produce an optimized Intermediate Representation (IR) of the model based on the trained network topology, weights, and biases values

Dans le dossier du caffemodel:

python3 /opt/intel/openvino_2021/deployment_tools/model_optimizer/mo.py --input_model pose.caffemodel --input_proto pose.prototxt

Les fichiers .caffemodel et .prototxt doivent avoir les mêmes noms

mo.utils.error.Error: Exception occurred during running replacer "REPLACEMENT_ID" (<class 'extensions.middle.PartialInfer.PartialInfer'>): Stopped shape/value propagation at "pool1_stage1" node. 

For more information please refer to Model Optimizer FAQ, question #38. (https://docs.openvinotoolkit.org/latest/openvino_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html?question=38#question-38)

OpenCV Deep Neural Network module cv2.dnn

serge@serge-PS42-8M:~$ python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> print(cv2.__version__)
4.5.2-openvino
>>> 
pose_estimation_avec_intel_ncs2_et_openvino.1624287922.txt.gz · Dernière modification : 2021/06/21 15:05 de serge