[EN/JP]
-
Python 3.9
-
OpenVINO 2022.2
-
DearPyGUI
-
websocket-client
-
Pillow
-
numpy
-
opencv-python
-
Python 3.7
-
OpenVINO 2020.3
-
websocket-client
-
Pillow
-
numpy
-
opencv-python
-
Download the MICS Camera System file (exe version) and extract it to the desired location.
-
Run the file "mics_camera_system.exe".
-
Install Python 3.9.
-
Create a virtual environment of your choice.
-
Download the MICS Camera System file (Python version) and extract it to an arbitrary location.
-
Open "resources/platform.jsonc" and rewrite the necessary items according to the instructions in the file.
-
Activate the virtual environment.
-
Go to the extracted folder in Terminal.
-
Install the module by entering the following commands in order.
python -m pip install --upgrade pip pip install -r requirements.txt -
Run "mics_camera_system.py".
python mics_camera_system.py
-
Install Python 3.7 . Open a terminal and type the following command to install Python 3.7 .
sudo apt-get update sudo apt-get upgrade -y wget https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgz tar zxvf Python-3.7.13.tgz cd Python-3.7.13 ./configure --enable-shared make sudo make install python3.7 -v -
Download the OpenVINO Runtime.
Download l_openvino_toolkit_runtime_raspbian_p_2020.3.194.tgz from storage.openvinotoolkit.org .
-
Navigate to the folder where you downloaded the software.
-
Create a destination folder for installation.
sudo mkdir -p /opt/intel/openvino -
Extract the downloaded file.
sudo tar -xf l_openvino_toolkit_runtime_raspbian_p_2020.3.194.tgz --strip 1 -C /opt/intel/openvino -
Updates environment variables. (Must be run each time the terminal is opened)
source /opt/intel/openvino/bin/setupvars.sh(Optional) Automate environment variable updates by writing them to .bash_profile. You do not need to execute the above commands each time if you execute the following commands.
echo "source /opt/intel/openvino/bin/setupvars.sh" >> ~/.bashrc -
Activate Intel NCS.
sudo usermod -a -G users "$(whoami)" source /opt/intel/openvino/bin/setupvars.sh sh /opt/intel/openvino/install_dependencies/install_NCS_udev_rules.sh -
Go to any location to create a virtual environment.
-
Create a virtual environment.
python3.7 -m venv [Any name] -
Activate the virtual environment.
. [Any name]/bin/activate -
Automate the startup of the virtual environment. Open the file "/opt/intel/openvino/bin/setupvars.sh" in your editor.
sudo nano /opt/intel/openvino/bin/setupvars.shAdd the following text to the file and save it.
command=". [path of a virtual environment]/bin/activate" eval $command -
Download the MICS Camera System file (Python version, for RaspberryPI3+NCS) and extract it to the desired location.
-
Navigate to the extracted location using a terminal.
-
Install the module by entering the following commands in order
python -m pip install --upgrade pip pip install -r requirements_pi3.txt -
Connect the Intel NCS to the Raspberry Pi if it is not already connected.
-
Run "mics_camera_system.py".
python mics_camera_system.py
The resolution, frame rate, and angle of view of the camera must be set. Set these in the GUI or edit "resources/settings.json".