################################################################################ # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. ################################################################################ [application] enable-perf-measurement=1 perf-measurement-interval-sec=1 [tiled-display] enable=0 rows=1 columns=1 width=1280 height=720 gpu-id=0 # --- 0 > 4 --------------------- [source0] enable=1 #Type - 1=CameraV4L2 2=URI 3=MultiURI type=3 num-sources=1 # uri=file://../../streams/sample_1080p_h265.mp4 uri=file://./People_Walking_street__30fps.mp4 gpu-id=0 [source1] enable=1 #Type - 1=CameraV4L2 2=URI 3=MultiURI type=3 num-sources=1 # uri=file://../../streams/sample_1080p_h265.mp4 uri=file://./People_Walking_street__30fps.mp4 gpu-id=0 [source2] enable=1 #Type - 1=CameraV4L2 2=URI 3=MultiURI type=3 num-sources=1 # uri=file://../../streams/sample_1080p_h265.mp4 uri=file://./People_Walking_street__30fps.mp4 gpu-id=0 [source3] enable=1 #Type - 1=CameraV4L2 2=URI 3=MultiURI type=3 num-sources=1 # uri=file://../../streams/sample_1080p_h265.mp4 uri=file://./People_Walking_street__30fps.mp4 gpu-id=0 [source4] enable=1 #Type - 1=CameraV4L2 2=URI 3=MultiURI type=3 num-sources=1 # uri=file://../../streams/sample_1080p_h265.mp4 uri=file://./People_Walking_street__30fps.mp4 gpu-id=0 # -------------------------------------------------------------------------- [streammux] gpu-id=0 batch-size=1 batched-push-timeout=40000 ## Set muxer output width and height width=960 height=544 enable-padding=1 # -------------------------------------------------------------------------- [osd] enable=1 gpu-id=0 border-width=3 text-size=15 text-color=1;1;1;1; text-bg-color=0.3;0.3;0.3;1 font=Arial [primary-gie] enable=1 gpu-id=0 # Modify as necessary model-engine-file=../../models/tao_pretrained_models/peopleNet/V2.3.2/resnet34_peoplenet_pruned_int8_v2_3_2_quantized.etlt_b2_gpu0_int8.engine batch-size=2 #Required by the app for OSD, not a plugin property bbox-border-color0=1;0;0;1 bbox-border-color1=0;1;1;1 bbox-border-color2=0;0;1;1 bbox-border-color3=0;1;0;1 gie-unique-id=1 config-file=config_infer_primary_peoplenet_V2_3__2__gpu.txt # --- 0 > 4 ------------------ [sink0] enable=1 type=3 #1=mp4 2=mkv container=1 #1=h264 2=h265 3=mpeg4 codec=1 #encoder type 0=Hardware 1=Software enc-type=0 sync=0 bitrate=2000000 #H264 Profile - 0=Baseline 2=Main 4=High #H265 Profile - 0=Main 1=Main10 profile=0 # output-file=peopletNet_V2_3__IOU.mp4 output-file=peopletNet_V2_3__IOU_batch2__0.mp4 source-id=0 [sink1] enable=1 type=3 #1=mp4 2=mkv container=1 #1=h264 2=h265 3=mpeg4 codec=1 #encoder type 0=Hardware 1=Software enc-type=0 sync=0 bitrate=2000000 #H264 Profile - 0=Baseline 2=Main 4=High #H265 Profile - 0=Main 1=Main10 profile=0 # output-file=peopletNet_V2_3__IOU.mp4 output-file=peopletNet_V2_3__IOU_batch2__1.mp4 source-id=1 [sink2] enable=1 type=3 #1=mp4 2=mkv container=1 #1=h264 2=h265 3=mpeg4 codec=1 #encoder type 0=Hardware 1=Software enc-type=0 sync=0 bitrate=2000000 #H264 Profile - 0=Baseline 2=Main 4=High #H265 Profile - 0=Main 1=Main10 profile=0 # output-file=peopletNet_V2_3__IOU.mp4 output-file=peopletNet_V2_3__IOU_batch2__2.mp4 source-id=2 [sink3] enable=1 type=3 #1=mp4 2=mkv container=1 #1=h264 2=h265 3=mpeg4 codec=1 #encoder type 0=Hardware 1=Software enc-type=0 sync=0 bitrate=2000000 #H264 Profile - 0=Baseline 2=Main 4=High #H265 Profile - 0=Main 1=Main10 profile=0 # output-file=peopletNet_V2_3__IOU.mp4 output-file=peopletNet_V2_3__IOU_batch2__3.mp4 source-id=3 [sink4] enable=1 type=3 #1=mp4 2=mkv container=1 #1=h264 2=h265 3=mpeg4 codec=1 #encoder type 0=Hardware 1=Software enc-type=0 sync=0 bitrate=2000000 #H264 Profile - 0=Baseline 2=Main 4=High #H265 Profile - 0=Main 1=Main10 profile=0 # output-file=peopletNet_V2_3__IOU.mp4 output-file=peopletNet_V2_3__IOU_batch2__4.mp4 source-id=4 # ---------------------------------------------------------- [tracker] enable=1 # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively tracker-width=640 tracker-height=384 ll-lib-file=/opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_nvmultiobjecttracker.so # # ll-config-file required to set different tracker types ll-config-file=../deepstream-app/config_tracker_IOU.yml # ll-config-file=../deepstream-app/config_tracker_NvDCF_perf.yml # # ll-config-file=../deepstream-app/config_tracker_NvDCF_accuracy.yml # ll-config-file=../deepstream-app/config_tracker_DeepSORT.yml gpu-id=0 enable-batch-process=1 enable-past-frame=1 display-tracking-id=1 [tests] file-loop=0