2 Star 8 Fork 2

open-ascend/atlas_mindxsdk_samples

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run_python.sh 641 Bytes
一键复制 编辑 原始数据 按行查看 历史
rabbit 提交于 2022-11-20 10:27 +08:00 . add demo
#!/bin/bash
# Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved.
# Description: Set and find the path of the runtime.
# Author: MindX SDK
# Create: 2020
# History: NA
set -e
CUR_PATH=$(cd "$(dirname "$0")" || { warn "Failed to check path/to/run.sh" ; exit ; } ; pwd)
# Simple log helper functions
info() { echo -e "\033[1;34m[INFO ][MxStream] $1\033[1;37m" ; }
warn() { echo >&2 -e "\033[1;31m[WARN ][MxStream] $1\033[1;37m" ; }
export MX_SDK_HOME=/usr/local/sdk_home/mxVision
#to set PYTHONPATH, import the StreamManagerApi.py
export PYTHONPATH=$PYTHONPATH:${MX_SDK_HOME}/python
python3 python/main.py
exit 0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/open-ascend/atlas_mindxsdk_samples.git
git@gitee.com:open-ascend/atlas_mindxsdk_samples.git
open-ascend
atlas_mindxsdk_samples
atlas_mindxsdk_samples
master

搜索帮助