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.

How to include Openvino stack into windows UWP app

Ajay_P_Intel
Employee
1,055 Views

Hi,

 

How to include Openvino stack into windows UWP apps?

 

Thanks,

Ajay 

0 Kudos
2 Replies
Iffa_Intel
Moderator
1,055 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

0 Kudos
Iffa_Intel
Moderator
1,055 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

0 Kudos
Reply