Skip To Main Content
Support Knowledge Base

Unable to Run Open Model Zoo (OMZ) Demo Build from Source in OpenVINO™ 2022.2

Content Type: Troubleshooting   |   Article ID: 000095078   |   Last Reviewed: 11/20/2023

Description

  • Installed OpenCV* 4.5
  • Installed OpenVINO™ runtime version 2022.1 as in this guide
  • Installed OpenVINO™ 2022.2 from the official archive
  • Set OpenVINO_DIR and OpenCV_DIR in the Windows System Environment path
  • Built OMZ demo
  • Failed to run interactive_face_detection_demo with emotion model with the command:

    .\interactive_face_detection_demo.exe -i "C:\Users\CBRD\Documents\openvino_ir\head-pose-face-detection-female.mp4" -m "C:\Users\CBRD\Documents\openvino_ir\face-detection-adas-0001\FP16\face-detection-adas-0001.xml" -mem "C:\Users\CBRD\Documents\openvino_ir\emotions-recognition-retail-0003\FP16\emotions-recognition-retail-0003.xml" -d GPU -o "C:\Users\CBRD\Documents\emotion.avi"

Resolution

  1. Use a fixed version of OpenCV* in your Windows* environment, OpenVINO™, and also during compiling the OMZ demo.
  2. Run the OpenCV* script in OpenVINO™ 2021.1 with Powershell.
  3. Update these 2 paths in your Windows* Environment Variable path:
    <INSTALL_DIR>\openvino_2022.1.0.643\extras\opencv\cmake
    <INSTALL_DIR>\openvino_2022\runtime\cmake
  4. Copy the extras folder from 2021.1 into 2022.2
  5. Run setupvars.bat from 2022.2 folder, then build the OMZ demo using the .bat script provided.
  6. Infer the interactive_face_detection_demo with supported models.

Related Products

This article applies to 1 products.