Prerequisites
Before using the process orchestration function of MindX SDK, you need to complete the following preparations.
Environment Setup
- Prepare an inference server powered by the Atlas 200/300/500 inference products and install the corresponding driver and firmware.
- Install Python 3.9 (on which MindX SDK depends).
- Install the Ascend-CANN-Toolkit. For details, see "Installing the Development Kit" in the CANN Software Installation Guide.
- Install MindStudio. For details, see "Installation (Linux)" in MindStudio Installation Guide.
- Install mxVision or mxManufacture. For details about the installation process, see "Using CLI for Development > Environment Preparation" in the mxVision User Guide or mxManufacture User Guide. (This document uses mxVision as an example.)
- Install the opencv-python dependency by running the following command:
pip3 install opencv-python
Environment Variable Configuration
- Run the vi ~/.bashrc command in any directory as the running user to open the .bashrc file, and append the following content to the file (the default installation path of a non-root user is used as an example):
# Ascend-CANN-Toolkit environment variable. Change it to the actual path. source ~/Ascend/ascend-toolkit/set_env.sh source $HOME/mxVision/set_env.sh
- Run the :wq! command to save the file and exit.
- Run the source ~/.bashrc command for the modification to take effect immediately.
Parent topic: Application Development (MindX SDK)