Welcome to IMX 415 Camera Module repository
2.2.Four types of detection(traffic)
Four Types of Detection (Traffic)
Four types of detection is a demo case built into DeepStream: it detects and counts people, vehicles, road signs, and bicycles in the frame.
This tutorial only provides a basic demonstration; other applications need to be developed by the user
1. Video Detection
Enter the folder where the case is located:
cd /opt/nvidia/deepstream/deepstream-9.1/sources/apps/sample_apps/deepstream-test1
Compile the source code: refer to the README in the same folder
sudo make CUDA_VER=13.2 # The factory image has already compiled it; users do not need to compile
Orin NX: enter the following command to preview
./deepstream-test1-app dstest1_config.yml
or
./deepstream-test1-app ../../../../samples/streams/sample_720p.h264
Orin NANO: enter the following command to preview
sudo deepstream-test1-app dstest1_config.yml

Configuration file: dstest1_config.yml
################################################################################
# SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# disclosure or distribution of this material and related documentation
# without an express license agreement from NVIDIA CORPORATION or
# its affiliates is strictly prohibited.
################################################################################
source:
location: ../../../../samples/streams/sample_720p.h264
streammux:
batch-size: 1
batched-push-timeout: 40000
width: 1920
height: 1080
# Inference using nvinfer:
primary-gie:
plugin-type: 0
config-file-path: dstest1_pgie_config.yml
## Inference using nvinferserver:
#primary-gie:
# plugin-type: 1
# config-file-path: dstest1_pgie_nvinferserver_config.txt
2. Real-time Detection
If multiple cameras are used, modify the .txt configuration file yourself: the following cases are the results when the mainboard is connected to only one camera.
2.1 IMX415 Camera
cd /opt/nvidia/deepstream/deepstream-9.1/samples/configs/deepstream-app
sudo deepstream-app -c source1_csi_dec_infer_resnet.txt
