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.
6506 Discussions

The status of Visual Studio support for OpenVINO

MAC2024
Beginner
830 Views

Trying to run an inference model generated with OpenVINO2024 as a Visual Studio2022 dll, I get an error (no supported front end). Can you please tell me how to resolve the error?

Phenomenon:
When trying to run OpenVINO 2024 on Visual Studio 2022, ov::Core.read_model() outputs an error and the inference model cannot be executed.

Objective:

- To infer a trained model (yolox_nano) generated using OpenVINO 2024 in Visual Studio 2022 environment (to create a dll that can infer the model)
- Incorporate it into another program as a Visual Studio dll.

System Requirements

- OS: Windows 10 (64 bit)
- Development environment: Visual Studio Professional 2022
- OpenVINO: OpenVINO

- Install/build with vcpkg manifest mode

- Download/Install with version: 2024.0.0
- Specification Inference Model
- yolov3-10.xml, yolov3-10.bin converted from yolov3-10.onnx by ovc
- Source code
- Use executable in CMake environment

Error status:

- vcpkg 1st build failed, 2nd build succeeded
- Error in ov::Core.read_model() at runtime
- Nothing is output after " Available frontends: " (I assume this is due to manager.get_available_front_ends() not getting the front end)

Overall error message:

yolov3-10.xml
yolov3-10.bin
Exception from src\inference\src\cpp\core.cpp:92:.
Exception from src\inference\src\model_reader.cpp:160:
Unable to read the model: yolov3-10.xml Please check that model format: xml is supported and the model is correct.

vcpkg.json

0 Kudos
1 Solution
MAC2024
Beginner
615 Views

Hi Zul,

 

Thanks for the reply.
I was able to get it to work by using the compiled runtime library “openvino.lib;openvino_c.lib” instead of vcpkg.

 

Best Regards,

MAC2024

View solution in original post

0 Kudos
3 Replies
Zulkifli_Intel
Moderator
767 Views

Hi MAC2024,

 

Thank you for reaching out.

 

For your information these are the supported build environment components for Windows 10 and 11 are:

 

For more information please refer to System Requirements.

 

 

Regards,

Zul


0 Kudos
MAC2024
Beginner
616 Views

Hi Zul,

 

Thanks for the reply.
I was able to get it to work by using the compiled runtime library “openvino.lib;openvino_c.lib” instead of vcpkg.

 

Best Regards,

MAC2024

0 Kudos
Zulkifli_Intel
Moderator
634 Views

This thread will no longer be monitored since we have provided the information. If you need additional information from Intel, please submit a new question.


0 Kudos
Reply