Service Running (Python)
Before running this program, you need to download an image containing animals, name the image test.jpg, and save it to the python directory.
Run the service according to the README file in the {sdk_install_path}/samples/mxVision/python directory. The python directory contains the sample code and run.sh script. (The final execution file is main.py.)
If the operating environment is Atlas 500 AI edge station, configure environment variables as follows.
# Run the following command to make the environment variables take effect: . /opt/ascend/nnrt/set_env.sh
Parent topic: Sample Overview