Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
54 Views

Movidius NCS2 Support

Hi, 

I'm using NCS2 on a Windows 10 OpenVINO environment. I have already installed the Movidius_VSC_Device.inf file and runned your test script and all went ok. However I want to make a small change to this approach. I want to be able to detect (using C++, and using your C++ API) the Movidius stick, and if it is available use it, otherwise the program will fallback to CPU plugin. Something like that:

Pseudo-code:

if (NCS2 available):

    plugin(dispatcher.getSuitablePlugin(TargetDevice::eMYRIAD));

otherwise:

    plugin(dispatcher.getSuitablePlugin(TargetDevice::eCPU));

Do you have any sample or any suggestions on how to implement this type of approach?

Thanks,

César.

0 Kudos
4 Replies
Highlighted
New Contributor I
54 Views

Hi,

Can someone give me a little insight on this problem?

Thanks,

César. 

0 Kudos
Highlighted
Employee
54 Views

You can use Device Query API: http://docs.openvinotoolkit.org/latest/_docs_IE_DG_InferenceEngine_QueryAPI.html

0 Kudos
Highlighted
New Contributor I
54 Views

So I tested the InferenceEngine::Core::GetAvailableDevices which provides a list of available devices, however this only reads an xml file with all the devices that are supported by OpenVINO and check the respective dlls for each one. So this does not detect if a Intel Neural Stick 2 is connected (available to use). This script only checks if you have the dlls and requirements to support his inference. Any ideias on how to discover the devices?

Thanks,
César.

0 Kudos
Highlighted
New Contributor I
54 Views

bump

0 Kudos