Welcome to Jetson AGX Orin repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
02.Four types of detection(traffic)
Four Types of Detection (Traffic)
Four types of detection is a built-in example demonstration of DeepStream: detecting and counting people, vehicles, road signs, and bicycles in the video.
xxxxxxxxxxThis tutorial only demonstrates the basics; other applications require user development.
1. Video Detection
Enter the folder containing the example:
xxxxxxxxxxcd /opt/nvidia/deepstream/deepstream-7.1/sources/apps/sample_apps/deepstream-test1
Compile the source code: Refer to the README file in the same folder.
xxxxxxxxxxsudo make CUDA_VER=12.6 # Compiled from the factory image, no user compilation required.
Run the example: Refer to dstest1_config.yml in the same folder.
xxxxxxxxxx./deepstream-test1-app dstest1_config.ymlor./deepstream-test1-app ../../../../samples/streams/sample_720p.h264

Configuration file: dstest1_config.yml
x################################################################################# 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.h264streammux:batch-size: 1batched-push-timeout: 40000width: 1920height: 1080# Inference using nvinfer:primary-gie:plugin-type: 0config-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 there are multiple cameras, modify the .txt configuration file yourself: The following examples show the effect when the motherboard is connected to only one camera.
2.1 USB Camera
xxxxxxxxxxcd /opt/nvidia/deepstream/deepstream-7.1/samples/configs/deepstream-app
xxxxxxxxxxdeepstream-app -c source1_usb_dec_infer_resnet_int8.txt
