Modified NVIDIA's deepstream-test1 sample for camera input
sudo apt update
sudo apt install nvidia-jetpack
git clone https://github.com/MACNICA-CLAVIS-NV/deepstream-test1-cam
cd deepstream-test1-cam
chmod +x *.sh
./docker_build.sh
You need to have a USB camera at /dev/video0 on your host L4T OS.
./docker_run.sh
This release supports only for JetPack 4.5.1.
If you want to run this on other versions of JetPack, modify the following line in Dockerfile to select the base image which support your version. Refer to the DeepStream-l4t repository page in NVIDIA NGC to find the right base image.
ARG BASE_IMAGE=nvcr.io/nvidia/deepstream-l4t:5.1-21.02-samples
In DeepStream 6.x, the Nvtracker specification has changed, so change "tracker_config.txt" as follows
~
#ll-lib-file=/opt/nvidia/deepstream/deepstream/lib/libnvds_nvdcf.so
ll-lib-file=/opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
If an error occurs when running docker_run.sh, execute the following command.
sudo pkill -SIGHUP dockerd