- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can someone give me a little insight on this problem?
Thanks,
César.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use Device Query API: http://docs.openvinotoolkit.org/latest/_docs_IE_DG_InferenceEngine_QueryAPI.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
bump

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page