Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5961 Discussions

How to include Openvino stack into windows UWP app

Ajay_P_Intel
Employee
322 Views

Hi,

 

How to include Openvino stack into windows UWP apps?

 

Thanks,

Ajay 

0 Kudos
2 Replies
Iffa_Intel
Moderator
322 Views

Greetings,

Here is some ideas:

async void DefaultLaunch()

{ // Path to the file in the app package to launch

string imageFile = @"images\test.png";

var file = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync(imageFile);

if (file != null) { // Launch the retrieved file var success = await Windows.System.Launcher.LaunchFileAsync(file);

if (success) { // File launched } else { // File launch failed } } else { // Could not find file } }

You can change the imagefile to Openvino file.

Make sure your uwp app have pemission to desired files too.

Check this out : https://docs.microsoft.com/en-us/windows/uwp/launch-resume/console-uwp

and this: https://docs.microsoft.com/en-us/windows/uwp/launch-resume/launch-the-default-app-for-a-file

& ensure to handle file activation.

However, Im not sure of how you can automatically run Openvino in Windows.

If in Linux, you can provoke your predefined scripts to command Openvino executions.

Hope my answer helps!

Sincerely,

Iffa

Iffa_Intel
Moderator
322 Views

Hi,

Im closing this case. If there are any other inquiries please help to create a new thread.

Thanks & have a great day ahead!.

Sincerely,

Iffa

Reply