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:
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!
I have a quite different but arguably related question here:
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.
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:
More information related to various input sources is available at the following page:
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?
For Unreal Engine, you can refer to the link below on how to integrate it.
For the OBS Studio and Unity, it is a 3rd party software, there is no direct way to integrate it.