Context Navigation

Example: Intel Movidius - Neural Computer

This tutorial will show how to get started with the Movidius NCS in the orbit environment. We'll go through downloading and installing the SDK, and then running a couple of the sample examples. This should provide a simple baseline for working with the Intel Movidius stick and SDK without getting into the details of neural networks.

At the end of the install you should see a message stating "Setup is complete" and Python environment variables updated in the .bashrc file, so make sure to source your .bashrc file before proceeding in the same terminal otherwise just open a new terminal.

root@node1-1:~# source ~/.bashrc

Run a simple example

Let's run the hello_ncs example to check that the Neural Compute API is able to access the NCS device. This example will just open and close the device. There are two version of this example - one in Python and the other in C++. The source for both are very short and easy to match the output with the source code.
Move to the directory ncsdk/examples/apps/hello_ncs_py and type make help for a list of possible options. Run the python example

To run the C++ example, move to the ncsdk/examples/apps/hello_ncs_cpp directory and do make all && make run. The output should be similar to the Python version.

Similarly we can run the other examples in ncsdk/examples. The AlexNet? example (image classification) is provided in ncsdk/examples/caffe/AlexNet. Doing a make help will display all the options available. The makefile is used to download, profile, compile, check and run the network. The ​git repo has an outline of all the make options, please refer to this before executing this example.