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

Inferencing a model that takes 2 inputs using openvino 2022 c++ API

ShashankKumar
Employee
789 Views

Hi, 

I am trying to run inference on a model that takes 2 images as input. I am using openvino 2022(c++ interface), can you please suggest on how to properly do it? Or is it even supported currently?

 

0 Kudos
2 Replies
IntelSupport
Community Manager
758 Views

Hi ShashankKumar,

 

Thanks for reaching out.

 

It is possible by specifying the inputs directly in the command. Below is the example of Image Classification Async C++ Sample with two image inputs.

 

Command:

classification_sample_async -i <IMAGE1_PATH> <IMAGE2_PATH> -m <path_to_model>

 

Output:

kumar.JPG

 

 

 

Regards,

Aznie

 

0 Kudos
IntelSupport
Community Manager
714 Views

Hi ShashankKumar,


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.



Regards,

Aznie


0 Kudos
Reply