1. 算法编译
1.1. 安装基础插件
- 查看deepstream是否安装正常
注:deepstream和deepstream-6.0是软连接关系,deepstream指向deepstream-6.0
ls /opt/nvidia/deepstream
- 安装插件
cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-app
根据README完成操作 1即可,2和3不需要执行
You must have the following development packages installed
GStreamer-1.0
GStreamer-1.0 Base Plugins
GStreamer-1.0 gstrtspserver
X11 client-side library
Glib json library - json-glib-1.0
1. To install these packages, execute the following command:
sudo apt-get install libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev \
libgstrtspserver-1.0-dev libx11-dev libjson-glib-dev
2. Build the sources by executing the command:
$ Set CUDA_VER in the MakeFile as per platform.
For Jetson, CUDA_VER=10.2
For x86, CUDA_VER=11.4
$ sudo make
3. Run the application by executing the command:
./deepstream-app -c <config-file>
1.2. 算法编译
#先删除文件夹/root/ibox/bin 和/root/ibox/deepstream-app/app/build
rm -rf /root/ibox/bin
rm -rf /root/ibox/deepstream-app/app/build
#执行编译
cd /root/ibox/deepstream-app/scripts && ./complie.sh
若算法编译出现上述[100%]时,则说明算法编译成功!
2. 算法编译
2.1安装基础插件
- 查看deepstream是否安装正常
注:deepstream和deepstream-6.0是软连接关系,deepstream指向deepstream-6.0
ls /opt/nvidia/deepstream
- 安装插件
cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-app
根据README完成操作 1即可,2和3不需要执行
You must have the following development packages installed
GStreamer-1.0
GStreamer-1.0 Base Plugins
GStreamer-1.0 gstrtspserver
X11 client-side library
Glib json library - json-glib-1.0
1. To install these packages, execute the following command:
sudo apt-get install libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev \
libgstrtspserver-1.0-dev libx11-dev libjson-glib-dev
2. Build the sources by executing the command:
$ Set CUDA_VER in the MakeFile as per platform.
For Jetson, CUDA_VER=10.2
For x86, CUDA_VER=11.4
$ sudo make
3. Run the application by executing the command:
./deepstream-app -c <config-file>
3. 编译
#先删除文件夹/root/ibox/bin 和/root/ibox/deepstream-app/app/build
rm -rf /root/ibox/bin
rm -rf /root/ibox/deepstream-app/app/build
#执行编译
cd /root/ibox/deepstream-app/scripts && ./complie.sh
若算法编译出现上述[100%]时,则说明算法编译成功!