Community
cancel
Showing results for 
Search instead for 
Did you mean: 
126 Views

Targeting different media in demo examples

Just getting started with OpenVino and associated demos, and had a question on changing target inputs.  For instance, if I look at the demo here:
https://docs.openvinotoolkit.org/2021.2/omz_demos_interactive_face_detection_demo_README.html

I can see a whole list of parameters to the demo exe are allowed.   For the input parameter (i), is it possible to change it instead of a video or webcam, to another application running on the client.  For instance, something streaming in a web browser, or something being rendered in the editor of an application like Unity?    How would I go about setting either of those as an input?

Thanks in advance!

0 Kudos
4 Replies
113 Views

I have a quite different but arguably related question here:

https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/C-inference-non-image-data/td-p/125405...

It seems like all of the demos show basic image recognition, which aren't very illuminating when you're working with other things, so it would be nice to have some examples showing work with other types of data. Since all types of data can be represented as simple arrays it would be nice to have a demonstration of how to do inference using that type of data, in both C++ and Python.

Zulkifli_Intel
Moderator
79 Views

Hi Peter,

Thank you for contacting us.

 

 Samples in OpenVINO use OpenCV library to read video streams, so it should be possible.

 

This demo can be used with web browser streaming input. I have validated using IP Webcam on this demo and it works fine. I share the steps here:

 

·      Download the FFmpeg wrapper by running PowerShell script located in the opencv directory,

 ·      Specify IP Webcam as input video by using URL via adding of -i parameter to the command line:

                 -i “https://username:password@ipaddress:port/video”

 

More information related to various input sources is available at the following page:

 

Regards,

Zulkifli

 

47 Views

Hi Zulkifli,

Thanks for this response.  It's very useful for connecting to browser. 
Is it possible to do similar input re-direction with a standard Windows .exe running on the desktop?  For instance, the scene window of a Unity or Unreal editor?
Could I use something like OBS Studio to start streaming the window and somehow use that as input to the OpenVino scripts?

Thanks,
Peter

Zulkifli_Intel
Moderator
29 Views

Hello Peter,

 

For Unreal Engine, you can refer to the link below on how to integrate it.

https://software.intel.com/content/www/us/en/develop/articles/openvino-toolkit-unreal-integration.ht...

 

For the OBS Studio and Unity, it is a 3rd party software, there is no direct way to integrate it. 

 

Regards,

Zulkifli