Welcome to the guide on how to run AI on Shunya N-BOX Mini Server using Intel® OpenVINO. This step-by-step documentation is designed for AI enthusiasts and developers, providing an easy-to-follow process for installing and running Intel® OpenVINO on the Shunya N-BOX mini server.
1. Intel® OpenVINO Overview #
Intel® OpenVINO is an open-source toolkit tailored for optimizing and deploying deep learning inference across Intel® hardware platforms. This toolkit is specifically crafted to accelerate AI application development in various domains such as computer vision, automatic speech recognition, and natural language processing. To delve deeper into Intel® OpenVINO, visit the Intel OpenVINO website.
2. Installation Process #
These steps have been tested on Shunya N-BOX-S3F Mini server.
2.1 Prerequisites #
Before initiating the installation, ensure you have the following:
- Shunya N-BOX mini server with Ubuntu 22.04 installed. Follow the instructions to Install Ubuntu 22.04.
- HDMI Monitor
- USB Keyboard and Mouse
- Internet connection
2.2 Installing Intel® OpenVINO #
Follow these simple steps to install Intel® OpenVINO on your Shunya N-BOX mini server:
- Open a new Terminal window (press
CTRL+ALT+Tto open a new Terminal): - Run commands to download openvino
sudo apt install curl git libopencv-dev -y sudo mkdir -p /opt/intel curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/linux/l_openvino_toolkit_ubuntu22_2023.3.0.13775.ceeafaf64f3_x86_64.tgz --output openvino_2023.3.0.tgz tar -xf openvino_2023.3.0.tgz sudo mv l_openvino_toolkit_ubuntu22_2023.3.0.13775.ceeafaf64f3_x86_64 /opt/intel/openvino_2023.3.0 - Install required dependencies
cd /opt/intel/openvino_2023.3.0 sudo -E ./install_dependencies/install_openvino_dependencies.sh python3 -m pip install -r ./python/requirements.txt - Create a link for ease of use
cd /opt/intel sudo ln -s openvino_2023.3.0 openvino_2023 - Set the OpenVINO environment
Note: Before you run OpenVINO commands on a new terminal, Make sure to set the environment by running the commandsource /opt/intel/openvino_2023/setupvars.shsource /opt/intel/openvino_2023/setupvars.sh.
Congratulations! Intel® OpenVINO is now installed on your Shunya N-BOX mini server.
2.3 Running Intel® OpenVINO Demos #
Once OpenVINO is installed, we can proceed to compile the demos. These demos provide a great starting point for understanding and exploring the capabilities of OpenVINO. Follow the steps below:
-
Clone the Open Model Zoo repository, which contains the demos, using the following command:
cd ~/ git clone --recurse-submodules https://github.com/openvinotoolkit/open_model_zoo.git -
Build and Install the model tools
cd ~/open_model_zoo/tools/model_tools pip3 install --upgrade pip sudo pip3 install .This will install the omz model tools.
-
Build the demos by executing the build_demos.sh script:
source /opt/intel/openvino_2023/setupvars.sh cd ~/open_model_zoo/demos ./build_demos.shThis will compile the demo applications and make them ready for execution.
-
Download the models needed for the demo by running the following command:
omz_downloader --name person-vehicle-bike-detection-2000 -o ~/models/ --precision FP16 -
Download the test video
cd ~/ wget https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/car-detection.mp4 -
Once the models and the test video are downloaded, you can run the object detection demo using the following command:
source /opt/intel/openvino_2023/setupvars.sh ~/omz_demos_build/intel64/Release/object_detection_demo -m ~/models/intel/person-vehicle-bike-detection-2000/FP16/person-vehicle-bike-detection-2000.xml -at ssd -i ~/car-detection.mp4
If you encounter any challenges during the installation process, refer to the official OpenVINO installation walkthrough.
That’s it! You’re now ready to explore the capabilities of Intel® OpenVINO on your Shunya N-BOX Mini Server. Happy coding!

