├── tritonserver └── models │ ├── peoplenet │ ├── labels.txt │ └── config.pbtxt │ ├── US_LPD │ ├── usa_lpd_label.txt │ └── config.pbtxt │ ├── trafficcamnet │ ├── labels.txt │ └── config.pbtxt │ ├── bodypose2d │ ├── 1 │ │ └── model.onnx │ └── config.pbtxt │ ├── yolov4 │ ├── 1 │ │ └── yolov4_-1_3_416_416_dynamic.onnx.nms.onnx │ └── config.pbtxt │ ├── Secondary_CarMake │ └── config.pbtxt │ ├── Secondary_VehicleTypes │ └── config.pbtxt │ └── us_lprnet │ └── config.pbtxt ├── common.png ├── files.PNG ├── new_pipe.jpg ├── demo_pipe.png ├── pipeline_0.png ├── demo_pipe_src2.png ├── tritonclient └── sample │ ├── configs │ ├── apps │ │ ├── bodypose_yolo │ │ │ ├── sources_4.csv │ │ │ ├── sources_4_rtsp.csv │ │ │ ├── sources_4_different_source.csv │ │ │ ├── secondary-gie1.yml │ │ │ ├── tracker0.yml │ │ │ ├── tracker1.yml │ │ │ ├── tracker2.yml │ │ │ ├── secondary-gie2.yml │ │ │ ├── secondary-gie0.yml │ │ │ ├── analytics0.txt │ │ │ ├── analytics1.txt │ │ │ ├── analytics2.txt │ │ │ └── config_nvdsanalytics.txt │ │ ├── bodypose_yolo_lpr │ │ │ ├── sources_4.csv │ │ │ ├── sources_4_different_source.csv │ │ │ ├── sources_4_rtsp.csv │ │ │ ├── secondary-gie0.yml │ │ │ ├── secondary-gie1.yml │ │ │ ├── tracker0.yml │ │ │ ├── tracker1.yml │ │ │ ├── tracker2.yml │ │ │ ├── secondary-gie2.yml │ │ │ ├── analytics0.txt │ │ │ ├── analytics1.txt │ │ │ ├── analytics2.txt │ │ │ ├── config_nvdsanalytics.txt │ │ │ └── dstest5_msgconv_sample_config.yml │ │ ├── bodypose_yolo_win1 │ │ │ ├── sources_4.csv │ │ │ ├── sources_4_rtsp.csv │ │ │ ├── sources_4_different_source.csv │ │ │ ├── secondary-gie1.yml │ │ │ ├── tracker0.yml │ │ │ ├── tracker1.yml │ │ │ ├── tracker2.yml │ │ │ ├── secondary-gie2.yml │ │ │ ├── secondary-gie0.yml │ │ │ ├── analytics0.txt │ │ │ ├── analytics1.txt │ │ │ ├── analytics2.txt │ │ │ └── config_nvdsanalytics.txt │ │ ├── vehicle0_lpr_analytic │ │ │ ├── sources_4.csv │ │ │ ├── sources_4_rtsp.csv │ │ │ ├── sources_4_different_source.csv │ │ │ ├── secondary-gie1.yml │ │ │ ├── tracker0.yml │ │ │ ├── tracker1.yml │ │ │ ├── tracker2.yml │ │ │ ├── secondary-gie2.yml │ │ │ ├── secondary-gie0.yml │ │ │ ├── analytics1.txt │ │ │ ├── analytics2.txt │ │ │ ├── analytics0.txt │ │ │ └── config_nvdsanalytics.txt │ │ └── vehicle_lpr_analytic │ │ │ ├── sources_4.csv │ │ │ ├── sources_4_rtsp.csv │ │ │ ├── sources_4_different_source.csv │ │ │ ├── secondary-gie1.yml │ │ │ ├── tracker0.yml │ │ │ ├── tracker1.yml │ │ │ ├── tracker2.yml │ │ │ ├── secondary-gie2.yml │ │ │ ├── secondary-gie0.yml │ │ │ ├── analytics0.txt │ │ │ ├── analytics1.txt │ │ │ ├── analytics2.txt │ │ │ └── config_nvdsanalytics.txt │ ├── yolov4 │ │ ├── coco.names │ │ ├── config_yolov4_inferserver.txt │ │ └── config_yolov4_infer.txt │ ├── metamux │ │ ├── config_metamux0.txt │ │ └── config_metamux1.txt │ ├── bodypose2d │ │ ├── config_body2_infer.txt │ │ └── config_body2_inferserver.txt │ ├── vehicle │ │ ├── config_infer_secondary_plan_engine_carmake.txt │ │ ├── config_infer_secondary_plan_engine_vehicletypes.txt │ │ ├── config_infer_secondary_plan_engine_carcolor.txt │ │ └── config_infer_plan_engine_primary.txt │ ├── us_lprnet │ │ └── config_uslpr_inferserver.txt │ ├── peoplenet │ │ └── config_peoplenet_inferserver.txt │ ├── trafficcamnet │ │ └── config_trafficcamnet_inferserver.txt │ └── US_LPD │ │ └── config_uslpd_inferserver.txt │ ├── gst-plugins │ ├── gst-nvdsmetamux │ │ └── libnvdsgst_metamux.so │ └── gst-nvinferserver │ │ ├── nvinfer_custom_lpr_parser │ │ └── Makefile │ │ └── nvdsinfer_custom_impl_Yolo │ │ ├── Makefile │ │ └── nvdsparsebbox_Yolo.cpp │ ├── build.sh │ ├── apps │ └── deepstream-parallel-infer │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── post_process │ │ └── body_pose │ │ │ ├── pair_graph.hpp │ │ │ └── cover_table.hpp │ │ ├── deepstream_metamux_yaml.cpp │ │ ├── Makefile │ │ └── CLA_LICENSE.md │ └── Makefile └── .gitattributes /tritonserver/models/peoplenet/labels.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tritonserver/models/US_LPD/usa_lpd_label.txt: -------------------------------------------------------------------------------- 1 | lpd 2 | -------------------------------------------------------------------------------- /tritonserver/models/trafficcamnet/labels.txt: -------------------------------------------------------------------------------- 1 | car 2 | bicycle 3 | person 4 | road_sign 5 | -------------------------------------------------------------------------------- /common.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app/HEAD/common.png -------------------------------------------------------------------------------- /files.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app/HEAD/files.PNG -------------------------------------------------------------------------------- /new_pipe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app/HEAD/new_pipe.jpg -------------------------------------------------------------------------------- /demo_pipe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app/HEAD/demo_pipe.png -------------------------------------------------------------------------------- /pipeline_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app/HEAD/pipeline_0.png -------------------------------------------------------------------------------- /demo_pipe_src2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app/HEAD/demo_pipe_src2.png -------------------------------------------------------------------------------- /tritonserver/models/bodypose2d/1/model.onnx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:57f0a14a6c6dcf619c8702b5cb4368730626f7d824b603bf0ba595d1cd78627f 3 | size 83063809 4 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/sources_4.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,4,0,0 3 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/sources_4.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,4,0,0 3 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/sources_4.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,4,0,0 3 | -------------------------------------------------------------------------------- /tritonclient/sample/gst-plugins/gst-nvdsmetamux/libnvdsgst_metamux.so: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3d1496ec9f7882e4ae5def9db70a0de07f4b751cba2be851f1f492b53be70ac2 3 | size 58896 4 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/sources_4.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,4,0,0 3 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/sources_4.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,4,0,0 3 | -------------------------------------------------------------------------------- /tritonserver/models/yolov4/1/yolov4_-1_3_416_416_dynamic.onnx.nms.onnx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b63d119949293621a3b7a901f0cbfc07580ef11569dbe7b4aaa6a986ad0b7230 3 | size 257499192 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | tritonserver/models/bodypose2d/1/model.onnx filter=lfs diff=lfs merge=lfs -text 2 | tritonserver/models/yolov4/1/yolov4_-1_3_416_416_dynamic.onnx.nms.onnx filter=lfs diff=lfs merge=lfs -text 3 | tritonclient/sample/gst-plugins/gst-nvdsmetamux/libnvdsgst_metamux.so filter=lfs diff=lfs merge=lfs -text 4 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/sources_4_different_source.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h265.mp4,2,0,0 4 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/sources_4_rtsp.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 4 | 1,4,rtsp://10.19.225.227/media/video1,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/sources_4_rtsp.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 4 | 1,4,rtsp://10.19.225.227/media/video1,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/sources_4_rtsp.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 4 | 1,4,rtsp://10.19.225.227/media/video1,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/sources_4_rtsp.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 4 | 1,4,rtsp://10.19.225.227/media/video1,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/sources_4_rtsp.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 4 | 1,4,rtsp://10.19.225.227/media/video1,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/sources_4_different_source.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,1,0,0 4 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/sources_4_different_source.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,1,0,0 4 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/sources_4_different_source.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,1,0,0 4 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/sources_4_different_source.csv: -------------------------------------------------------------------------------- 1 | enable,type,uri,num-sources,gpu-id,cudadec-memtype 2 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,2,0,0 3 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4,1,0,0 4 | 1,3,file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.mp4,1,0,0 5 | -------------------------------------------------------------------------------- /tritonclient/sample/build.sh: -------------------------------------------------------------------------------- 1 | 2 | make 3 | 4 | ## enable NVSTREAMMUX_ADAPTIVE_BATCHING 5 | if [ x"$NVSTREAMMUX_ADAPTIVE_BATCHING" != x"yes" ]; then 6 | export NVSTREAMMUX_ADAPTIVE_BATCHING=yes 7 | rm -rf ~/.cache/gstreamer-1.0/ 8 | echo "export NVSTREAMMUX_ADAPTIVE_BATCHING=yes" 9 | fi 10 | 11 | ## dict.txt is label file for LPR model 12 | if [ ! -f dict.txt ]; then 13 | wget 'https://api.ngc.nvidia.com/v2/models/nvidia/tao/lprnet/versions/deployable_v1.0/files/us_lp_characters.txt' -O dict.txt 14 | fi 15 | -------------------------------------------------------------------------------- /tritonserver/models/bodypose2d/config.pbtxt: -------------------------------------------------------------------------------- 1 | name: "bodypose2d" 2 | platform: "onnxruntime_onnx" 3 | backend: "onnxruntime" 4 | max_batch_size: 4 5 | input [ 6 | { 7 | name: "input" 8 | data_type: TYPE_FP32 9 | dims: [ 10 | 3, 11 | 224, 12 | 224 13 | ] 14 | } 15 | ] 16 | output [ 17 | { 18 | name: "266" 19 | data_type: TYPE_FP32 20 | dims: [ 21 | 18, 22 | 56, 23 | 56 24 | ] 25 | }, 26 | { 27 | name: "268", 28 | data_type: TYPE_FP32 29 | dims: [ 30 | 42, 31 | 56, 32 | 56 33 | ] 34 | } 35 | ] 36 | 37 | instance_group { 38 | count: 1 39 | gpus: 0 40 | kind: KIND_GPU 41 | } 42 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/yolov4/coco.names: -------------------------------------------------------------------------------- 1 | person 2 | bicycle 3 | car 4 | motorbike 5 | aeroplane 6 | bus 7 | train 8 | truck 9 | boat 10 | traffic light 11 | fire hydrant 12 | stop sign 13 | parking meter 14 | bench 15 | bird 16 | cat 17 | dog 18 | horse 19 | sheep 20 | cow 21 | elephant 22 | bear 23 | zebra 24 | giraffe 25 | backpack 26 | umbrella 27 | handbag 28 | tie 29 | suitcase 30 | frisbee 31 | skis 32 | snowboard 33 | sports ball 34 | kite 35 | baseball bat 36 | baseball glove 37 | skateboard 38 | surfboard 39 | tennis racket 40 | bottle 41 | wine glass 42 | cup 43 | fork 44 | knife 45 | spoon 46 | bowl 47 | banana 48 | apple 49 | sandwich 50 | orange 51 | broccoli 52 | carrot 53 | hot dog 54 | pizza 55 | donut 56 | cake 57 | chair 58 | sofa 59 | potted plant 60 | bed 61 | dining table 62 | toilet 63 | tvmonitor 64 | laptop 65 | mouse 66 | remote 67 | keyboard 68 | cell phone 69 | microwave 70 | oven 71 | toaster 72 | sink 73 | refrigerator 74 | book 75 | clock 76 | vase 77 | scissors 78 | teddy bear 79 | hair drier 80 | toothbrush -------------------------------------------------------------------------------- /tritonserver/models/yolov4/config.pbtxt: -------------------------------------------------------------------------------- 1 | name: "yolov4" 2 | platform: "tensorrt_plan" 3 | max_batch_size: 32 4 | input [ 5 | { 6 | name: "input" 7 | data_type: TYPE_FP32 8 | dims: [ 9 | 3, 10 | 416, 11 | 416 12 | ] 13 | } 14 | ] 15 | output [ 16 | { 17 | name: "num_detections" 18 | data_type: TYPE_INT32 19 | dims: [ 20 | 1 21 | ] 22 | }, 23 | { 24 | name: "nmsed_boxes" 25 | data_type: TYPE_FP32 26 | dims: [ 27 | 1000, 28 | 4 29 | ] 30 | }, 31 | { 32 | name: "nmsed_scores" 33 | data_type: TYPE_FP32 34 | dims: [ 35 | 1000 36 | ] 37 | }, 38 | { 39 | name: "nmsed_classes" 40 | data_type: TYPE_FP32 41 | dims: [ 42 | 1000 43 | ] 44 | } 45 | ] 46 | instance_group [ 47 | { 48 | count: 1 49 | kind: KIND_GPU 50 | gpus: [ 0 ] 51 | } 52 | ] 53 | default_model_filename: "yolov4_-1_3_416_416_dynamic.onnx_b32_gpu0.engine" 54 | -------------------------------------------------------------------------------- /tritonclient/sample/apps/deepstream-parallel-infer/LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020, NVIDIA Corporation 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 7 | the Software, and to permit persons to whom the Software is furnished to do so, 8 | subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 15 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 16 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /tritonclient/sample/apps/deepstream-parallel-infer/README.md: -------------------------------------------------------------------------------- 1 | # DeepStream Parallel Inference 2 | 3 | DeepStream Parallel Inference is one application which run inference in parallel. tee will send batched buffer to different models. nvdsmetamux will mux batch meta from different models which run in parallel. User can configure the pipeline in application configuration yaml file. User can select source ids which need inference in preprocess configuration file. User can select source ids which need mux in nvdsmetamux configuration file. 4 | 5 | ## Prerequisites 6 | DeepStream SDK 6.1.1 GA or above 7 | 8 | 9 | ## Getting Started: 10 | To get started, please follow these steps. 11 | 1. Install [DeepStream](https://developer.nvidia.com/deepstream-sdk) on your platform, verify it is working by running deepstream-app. 12 | 2. Install nvdsmetamux. 13 | 3. Install triton client video template libraries. 14 | 4. Clone the repository preferably in `$DEEPSTREAM_DIR/sources/apps/sample_apps`. 15 | 5. Compile and run the program 16 | 17 | ``` 18 | $ cd deepstream-parallel-infer/ 19 | $ sudo make 20 | $ sudo ./deepstream-parallel-infer -c 21 | ``` 22 | Run parallel inference app with default configure file: $ ./deepstream-parallel-infer -c source4_1080p_dec_parallel_infer.yml 23 | 24 | For any issues or questions, please feel free to make a new post on the [DeepStreamSDK forums](https://forums.developer.nvidia.com/c/accelerated-computing/intelligent-video-analytics/deepstream-sdk/). 25 | -------------------------------------------------------------------------------- /tritonclient/sample/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | 22 | all: 23 | @make -C apps/deepstream-parallel-infer 24 | @make -C gst-plugins/gst-nvinferserver/nvdsinfer_custom_impl_Yolo 25 | @make -C gst-plugins/gst-nvinferserver/nvinfer_custom_lpr_parser 26 | clean: 27 | @make clean -C apps/deepstream-parallel-infer 28 | @make clean -C gst-plugins/gst-nvinferserver/nvdsinfer_custom_impl_Yolo 29 | @make clean -C gst-plugins/gst-nvinferserver/nvinfer_custom_lpr_parser 30 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/secondary-gie1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 0 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 20 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | 36 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/secondary-gie1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 0 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 20 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/secondary-gie0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 11 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | 36 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/secondary-gie1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 0 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 20 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | 36 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/secondary-gie1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 0 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 20 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/secondary-gie1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 0 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 20 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | -------------------------------------------------------------------------------- /tritonclient/sample/gst-plugins/gst-nvinferserver/nvinfer_custom_lpr_parser/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | CC:= g++ 22 | 23 | CFLAGS:= -Wall -Werror -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations 24 | 25 | CFLAGS+= -I/opt/nvidia/deepstream/deepstream/sources/includes 26 | 27 | LIBS:= -lnvinfer -lnvparsers 28 | LFLAGS:= -Wl,--start-group $(LIBS) -Wl,--end-group 29 | 30 | SRCFILES:= nvinfer_custom_lpr_parser.cpp 31 | TARGET_LIB:= libnvdsinfer_custom_impl_lpr.so 32 | 33 | all: $(TARGET_LIB) 34 | 35 | $(TARGET_LIB) : $(SRCFILES) 36 | $(CC) -o $@ $^ $(CFLAGS) $(LFLAGS) 37 | 38 | clean: 39 | rm -rf $(TARGET_LIB) 40 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/metamux/config_metamux0.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | # The values in the config file are overridden by values set through GObject 24 | # properties. 25 | 26 | [property] 27 | enable=1 28 | # sink pad name which data will be pass to src pad. 29 | active-pad=sink_0 30 | # default pts-tolerance is 60 ms. 31 | pts-tolerance=60000 32 | 33 | [user-configs] 34 | 35 | [group-0] 36 | # src-ids-model-= 37 | # mux all source if don't set it. 38 | src-ids-model-1=0;1 39 | src-ids-model-2=1;2 40 | src-ids-model-3=1;2 -------------------------------------------------------------------------------- /tritonclient/sample/configs/metamux/config_metamux1.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | # The values in the config file are overridden by values set through GObject 24 | # properties. 25 | 26 | [property] 27 | enable=1 28 | # sink pad name which data will be pass to src pad. 29 | active-pad=sink_0 30 | # default pts-tolerance is 60 ms. 31 | pts-tolerance=60000 32 | 33 | [user-configs] 34 | 35 | [group-0] 36 | # src-ids-model-= 37 | # mux all source if don't set it. 38 | src-ids-model-1=0;1 39 | src-ids-model-2=1;2 40 | src-ids-model-3=0;1 41 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/bodypose2d/config_body2_infer.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | 22 | [property] 23 | gpu-id=0 24 | model-engine-file=../../../../tritonserver/models/bodypose2d/1/model.onnx_b4_gpu0_fp16.engine 25 | onnx-file=../../../../tritonserver/models/bodypose2d/1/model.onnx 26 | batch-size=4 27 | ## 0=FP32, 1=INT8, 2=FP16 mode 28 | network-mode=2 29 | num-detected-classes=3 30 | gie-unique-id=2 31 | #output-blob-names=output_bbox/BiasAdd;output_cov/Sigmoid 32 | #0=Detection 1=Classifier 2=Segmentation 33 | network-type=100 34 | process-mode=1 35 | net-scale-factor=0.01743071291615827 36 | offsets=114.74;114.74;114.74 37 | #0=RGB 1=BGR 2=GRAY 38 | model-color-format=0 39 | output-tensor-meta=1 40 | -------------------------------------------------------------------------------- /tritonserver/models/Secondary_CarMake/config.pbtxt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2020 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | name: "Secondary_CarMake" 24 | platform: "tensorrt_plan" 25 | max_batch_size: 16 26 | default_model_filename: "resnet18_vehiclemakenet.etlt_b16_gpu0_int8.engine" 27 | input [ 28 | { 29 | name: "input_1" 30 | data_type: TYPE_FP32 31 | format: FORMAT_NCHW 32 | dims: [3, 244, 244] 33 | } 34 | ] 35 | output [ 36 | { 37 | name: "predictions/Softmax" 38 | data_type: TYPE_FP32 39 | dims: [20, 1, 1] 40 | } 41 | ] 42 | instance_group [ 43 | { 44 | kind: KIND_GPU 45 | count: 1 46 | gpus: 0 47 | } 48 | ] 49 | -------------------------------------------------------------------------------- /tritonserver/models/Secondary_VehicleTypes/config.pbtxt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2020 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | name: "Secondary_VehicleTypes" 24 | platform: "tensorrt_plan" 25 | max_batch_size: 16 26 | default_model_filename: "resnet18_vehicletypenet.etlt_b16_gpu0_int8.engine" 27 | input [ 28 | { 29 | name: "input_1" 30 | data_type: TYPE_FP32 31 | format: FORMAT_NCHW 32 | dims: [3, 244, 244] 33 | } 34 | ] 35 | output [ 36 | { 37 | name: "predictions/Softmax" 38 | data_type: TYPE_FP32 39 | dims: [6, 1, 1] 40 | } 41 | ] 42 | instance_group [ 43 | { 44 | kind: KIND_GPU 45 | count: 1 46 | gpus: 0 47 | } 48 | ] 49 | -------------------------------------------------------------------------------- /tritonserver/models/peoplenet/config.pbtxt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2020 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | name: "peoplenet" 24 | platform: "tensorrt_plan" 25 | max_batch_size: 8 26 | default_model_filename: "resnet34_peoplenet_int8.onnx_b8_gpu0_int8.engine" 27 | input [ 28 | { 29 | name: "input_1:0" 30 | data_type: TYPE_FP32 31 | dims: [ 3, 544, 960 ] 32 | } 33 | ] 34 | output [ 35 | { 36 | name: "output_bbox/BiasAdd:0" 37 | data_type: TYPE_FP32 38 | dims: [ 12, 34, 60 ] 39 | }, 40 | { 41 | name: "output_cov/Sigmoid:0" 42 | data_type: TYPE_FP32 43 | dims: [ 3, 34, 60 ] 44 | } 45 | ] 46 | 47 | instance_group [ 48 | { 49 | kind: KIND_GPU 50 | count: 1 51 | gpus: 0 52 | } 53 | ] 54 | -------------------------------------------------------------------------------- /tritonserver/models/us_lprnet/config.pbtxt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2020 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | name: "us_lprnet" 24 | platform: "tensorrt_plan" 25 | max_batch_size: 16 26 | default_model_filename: "us_lprnet_baseline18_deployable.etlt_b16_gpu0_fp16.engine" 27 | input [ 28 | { 29 | name: "image_input" 30 | data_type: TYPE_FP32 31 | format: FORMAT_NCHW 32 | dims: [ 3, 48, 96] 33 | } 34 | ] 35 | output [ 36 | { 37 | name: "tf_op_layer_ArgMax" 38 | data_type: TYPE_INT32 39 | dims: [24] 40 | }, 41 | 42 | { 43 | name: "tf_op_layer_Max" 44 | data_type: TYPE_FP32 45 | dims: [ 24 ] 46 | } 47 | ] 48 | 49 | instance_group [ 50 | { 51 | kind: KIND_GPU 52 | count: 1 53 | gpus: 0 54 | } 55 | ] 56 | -------------------------------------------------------------------------------- /tritonserver/models/US_LPD/config.pbtxt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2020 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | name: "US_LPD" 24 | platform: "tensorrt_plan" 25 | max_batch_size: 16 26 | default_model_filename: "LPDNet_usa_pruned_tao5.onnx_b16_gpu0_int8.engine" 27 | input [ 28 | { 29 | name: "input_1:0" 30 | data_type: TYPE_FP32 31 | format: FORMAT_NCHW 32 | dims: [ 3, 480, 640] 33 | } 34 | ] 35 | output [ 36 | { 37 | name: "output_bbox/BiasAdd:0" 38 | data_type: TYPE_FP32 39 | dims: [4, 30, 40] 40 | }, 41 | 42 | { 43 | name: "output_cov/Sigmoid:0" 44 | data_type: TYPE_FP32 45 | dims: [1, 30, 40] 46 | } 47 | ] 48 | 49 | instance_group [ 50 | { 51 | kind: KIND_GPU 52 | count: 1 53 | gpus: 0 54 | } 55 | ] 56 | -------------------------------------------------------------------------------- /tritonserver/models/trafficcamnet/config.pbtxt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2020 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | name: "trafficcamnet" 24 | platform: "tensorrt_plan" 25 | max_batch_size: 8 26 | default_model_filename: "resnet18_trafficcamnet_pruned.etlt_b8_gpu0_int8.engine" 27 | input [ 28 | { 29 | name: "input_1" 30 | data_type: TYPE_FP32 31 | format: FORMAT_NCHW 32 | dims: [3, 544, 960] 33 | } 34 | ] 35 | output [ 36 | { 37 | name: "output_bbox/BiasAdd" 38 | data_type: TYPE_FP32 39 | dims: [16, 34, 60] 40 | }, 41 | 42 | { 43 | name: "output_cov/Sigmoid" 44 | data_type: TYPE_FP32 45 | dims: [4, 34, 60] 46 | } 47 | ] 48 | instance_group [ 49 | { 50 | kind: KIND_GPU 51 | count: 1 52 | gpus: 0 53 | } 54 | ] 55 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/tracker0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/tracker1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/tracker2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/tracker0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/tracker1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/tracker2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/tracker0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/tracker1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/tracker2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/tracker0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/tracker1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/tracker2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/tracker0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/tracker1.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/tracker2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | tracker: 25 | # For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively 26 | tracker-width: 640 27 | tracker-height: 384 28 | ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so 29 | # ll-config-file required to set different tracker types 30 | # ll-config-file=config_tracker_IOU.yml 31 | ll-config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml 32 | # ll-config-file=config_tracker_NvDCF_accuracy.yml 33 | # ll-config-file=config_tracker_DeepSORT.yml 34 | gpu-id: 0 35 | enable-batch-process: 1 36 | enable-past-frame: 1 37 | display-tracking-id: 1 38 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/secondary-gie2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 30 32 | operate-on-gie-id: 3 33 | operate-on-class-ids: 0 34 | config-file: ../../US_LPD/config_uslpd_inferserver.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 31 44 | operate-on-gie-id: 30 45 | operate-on-class-ids: 0 46 | config-file: ../../us_lprnet/config_uslpr_inferserver.txt 47 | 48 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/secondary-gie2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 30 32 | operate-on-gie-id: 3 33 | operate-on-class-ids: 0 34 | config-file: ../../US_LPD/config_uslpd_inferserver.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 31 44 | operate-on-gie-id: 30 45 | operate-on-class-ids: 0 46 | config-file: ../../us_lprnet/config_uslpr_inferserver.txt 47 | 48 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/secondary-gie2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 30 32 | operate-on-gie-id: 3 33 | operate-on-class-ids: 0 34 | config-file: ../../US_LPD/config_uslpd_inferserver.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 31 44 | operate-on-gie-id: 30 45 | operate-on-class-ids: 0 46 | config-file: ../../us_lprnet/config_uslpr_inferserver.txt 47 | 48 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/secondary-gie2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 30 32 | operate-on-gie-id: 3 33 | operate-on-class-ids: 0 34 | config-file: ../../US_LPD/config_uslpd_inferserver.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 31 44 | operate-on-gie-id: 30 45 | operate-on-class-ids: 0 46 | config-file: ../../us_lprnet/config_uslpr_inferserver.txt 47 | 48 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/secondary-gie2.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 30 32 | operate-on-gie-id: 3 33 | operate-on-class-ids: 0 34 | config-file: ../../US_LPD/config_uslpd_inferserver.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 31 44 | operate-on-gie-id: 30 45 | operate-on-class-ids: 0 46 | config-file: ../../us_lprnet/config_uslpr_inferserver.txt 47 | 48 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/secondary-gie0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 11 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 12 44 | operate-on-gie-id: 1 45 | operate-on-class-ids: 0 46 | config-file: ../../vehicle/config_infer_secondary_plan_engine_carmake.txt 47 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/secondary-gie0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 11 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 12 44 | operate-on-gie-id: 1 45 | operate-on-class-ids: 0 46 | config-file: ../../vehicle/config_infer_secondary_plan_engine_carmake.txt 47 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/secondary-gie0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 1 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 11 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: ../../vehicle/config_infer_secondary_plan_engine_vehicletypes.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 1 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 12 44 | operate-on-gie-id: 1 45 | operate-on-class-ids: 0 46 | config-file: ../../vehicle/config_infer_secondary_plan_engine_carmake.txt 47 | -------------------------------------------------------------------------------- /tritonclient/sample/gst-plugins/gst-nvinferserver/nvdsinfer_custom_impl_Yolo/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | 22 | CC:= g++ 23 | NVCC:=/usr/local/cuda/bin/nvcc 24 | 25 | CFLAGS:= -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations 26 | CFLAGS+= -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda/include 27 | 28 | LIBS:= -lnvinfer_plugin -lnvinfer -lnvparsers -L/usr/local/cuda/lib64 -lcudart -lcublas -lstdc++fs 29 | LFLAGS:= -shared -Wl,--start-group $(LIBS) -Wl,--end-group 30 | 31 | INCS:= $(wildcard *.h) 32 | SRCFILES:= nvdsparsebbox_Yolo.cpp 33 | 34 | TARGET_LIB:= libnvdsinfer_custom_impl_Yolo.so 35 | 36 | TARGET_OBJS:= $(SRCFILES:.cpp=.o) 37 | TARGET_OBJS:= $(TARGET_OBJS:.cu=.o) 38 | 39 | all: $(TARGET_LIB) 40 | 41 | %.o: %.cpp $(INCS) Makefile 42 | $(CC) -c -o $@ $(CFLAGS) $< 43 | 44 | %.o: %.cu $(INCS) Makefile 45 | $(NVCC) -c -o $@ --compiler-options '-fPIC' $< 46 | 47 | $(TARGET_LIB) : $(TARGET_OBJS) 48 | $(CC) -o $@ $(TARGET_OBJS) $(LFLAGS) 49 | 50 | clean: 51 | rm -rf $(TARGET_LIB) 52 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/secondary-gie0.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | secondary-gie0: 25 | enable: 1 26 | ##(0): nvinfer; (1): nvinferserver 27 | plugin-type: 0 28 | ## nvinferserserver's gpu-id can only set from its own config-file 29 | #gpu-id=0 30 | batch-size: 16 31 | gie-unique-id: 11 32 | operate-on-gie-id: 1 33 | operate-on-class-ids: 0 34 | config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_infer_secondary_vehicletypes.txt 35 | 36 | secondary-gie1: 37 | enable: 1 38 | ##(0): nvinfer; (1): nvinferserver 39 | plugin-type: 0 40 | ## nvinferserserver's gpu-id can only set from its own config-file 41 | #gpu-id=0 42 | batch-size: 16 43 | gie-unique-id: 12 44 | operate-on-gie-id: 1 45 | operate-on-class-ids: 0 46 | config-file: /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_infer_secondary_vehiclemake.txt 47 | 48 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/bodypose2d/config_body2_inferserver.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 2 25 | gpu_ids: [0] 26 | max_batch_size: 4 27 | backend { 28 | triton { 29 | model_name: "bodypose2d" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_RGB 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 0.01743071291615827 46 | channel_offsets: [114.74,114.74,114.74] 47 | } 48 | } 49 | 50 | postprocess { 51 | other {} 52 | } 53 | 54 | extra { 55 | copy_input_to_host_buffers: false 56 | output_buffer_pool_size: 2 57 | } 58 | } 59 | input_control { 60 | process_mode: PROCESS_MODE_FULL_FRAME 61 | interval: 0 62 | } 63 | 64 | output_control { 65 | output_tensor_meta: true 66 | } 67 | -------------------------------------------------------------------------------- /tritonclient/sample/apps/deepstream-parallel-infer/post_process/body_pose/pair_graph.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class PairGraph 7 | { 8 | public: 9 | PairGraph(int nrows, int ncols) : nrows(nrows), ncols(ncols) 10 | { 11 | this->rows.resize(nrows); 12 | this->cols.resize(ncols); 13 | } 14 | 15 | /** 16 | * Returns the column index of the pair matching this row 17 | */ 18 | inline int colForRow(int row) const 19 | { 20 | return this->rows[row]; 21 | } 22 | 23 | /** 24 | * Returns the row index of the pair matching this column 25 | */ 26 | inline int rowForCol(int col) const 27 | { 28 | return this->cols[col]; 29 | } 30 | 31 | /** 32 | * Creates a pair between row and col 33 | */ 34 | inline void set(int row, int col) 35 | { 36 | this->rows[row] = col; 37 | this->cols[col] = row; 38 | } 39 | 40 | inline bool isRowSet(int row) const 41 | { 42 | return rows[row] >= 0; 43 | } 44 | 45 | inline bool isColSet(int col) const 46 | { 47 | return cols[col] >= 0; 48 | } 49 | 50 | inline bool isPair(int row, int col) 51 | { 52 | return rows[row] == col; 53 | } 54 | 55 | /** 56 | * Clears pair between row and col 57 | */ 58 | inline void reset(int row, int col) 59 | { 60 | this->rows[row] = -1; 61 | this->cols[col] = -1; 62 | } 63 | 64 | /** 65 | * Clears all pairs in graph 66 | */ 67 | void clear() 68 | { 69 | for (int i = 0; i < this->nrows; i++) 70 | { 71 | this->rows[i] = -1; 72 | } 73 | for (int j = 0; j < this->ncols; j++) 74 | { 75 | this->cols[j] = -1; 76 | } 77 | } 78 | 79 | int numPairs() 80 | { 81 | int count = 0; 82 | for (int i = 0; i < nrows; i++) 83 | { 84 | if (rows[i] >= 0) 85 | { 86 | count++; 87 | } 88 | } 89 | return count; 90 | } 91 | 92 | std::vector> pairs() 93 | { 94 | std::vector> p(numPairs()); 95 | int count = 0; 96 | for (int i = 0; i < nrows; i++) 97 | { 98 | if (isRowSet(i)) 99 | { 100 | p[count++] = {i, colForRow(i)}; 101 | } 102 | } 103 | return p; 104 | } 105 | 106 | const int nrows; 107 | const int ncols; 108 | 109 | private: 110 | std::vector rows; 111 | std::vector cols; 112 | }; 113 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/vehicle/config_infer_secondary_plan_engine_carmake.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 6 25 | gpu_ids: [0] 26 | max_batch_size: 16 27 | backend { 28 | triton { 29 | model_name: "Secondary_CarMake" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_BGR 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 1 46 | } 47 | } 48 | 49 | postprocess { 50 | labelfile_path: "/opt/nvidia/deepstream/deepstream/samples/models/Secondary_VehicleMake/labels.txt" 51 | classification { 52 | threshold: 0.51 53 | } 54 | } 55 | 56 | } 57 | input_control { 58 | process_mode: PROCESS_MODE_CLIP_OBJECTS 59 | operate_on_gie_id: 1 60 | operate_on_class_ids: [0] 61 | interval: 0 62 | #async_mode: true 63 | object_control { 64 | bbox_filter { 65 | min_width: 128 66 | min_height: 128 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/vehicle/config_infer_secondary_plan_engine_vehicletypes.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 4 25 | gpu_ids: [0] 26 | max_batch_size: 16 27 | backend { 28 | triton { 29 | model_name: "Secondary_VehicleTypes" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_BGR 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 1 46 | } 47 | } 48 | 49 | postprocess { 50 | labelfile_path: "/opt/nvidia/deepstream/deepstream/samples/models/Secondary_VehicleTypes/labels.txt" 51 | classification { 52 | threshold: 0.51 53 | } 54 | } 55 | 56 | } 57 | input_control { 58 | process_mode: PROCESS_MODE_CLIP_OBJECTS 59 | operate_on_gie_id: 1 60 | operate_on_class_ids: [0] 61 | interval: 0 62 | #async_mode: true 63 | object_control { 64 | bbox_filter { 65 | min_width: 128 66 | min_height: 128 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/us_lprnet/config_uslpr_inferserver.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 5 25 | gpu_ids: [0] 26 | max_batch_size: 16 27 | backend { 28 | triton { 29 | model_name: "us_lprnet" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_RGB 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 0.00392156862745098 46 | channel_offsets: [0.0,0.0,0.0] 47 | } 48 | } 49 | 50 | postprocess { 51 | classification { 52 | custom_parse_classifier_func: "NvDsInferParseCustomNVPlate" 53 | threshold: 0.5 54 | } 55 | } 56 | 57 | extra { 58 | copy_input_to_host_buffers: false 59 | output_buffer_pool_size: 6 60 | } 61 | custom_lib { 62 | path: "../../gst-plugins/gst-nvinferserver/nvinfer_custom_lpr_parser/libnvdsinfer_custom_impl_lpr.so" 63 | } 64 | } 65 | input_control { 66 | operate_on_gie_id: 30 67 | process_mode: PROCESS_MODE_CLIP_OBJECTS 68 | interval: 0 69 | } 70 | -------------------------------------------------------------------------------- /tritonclient/sample/apps/deepstream-parallel-infer/post_process/body_pose/cover_table.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 3 | * SPDX-License-Identifier: MIT 4 | * 5 | * Permission is hereby granted, free of charge, to any person obtaining a 6 | * copy of this software and associated documentation files (the "Software"), 7 | * to deal in the Software without restriction, including without limitation 8 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 | * and/or sell copies of the Software, and to permit persons to whom the 10 | * Software is furnished to do so, subject to the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included in 13 | * all copies or substantial portions of the Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | * DEALINGS IN THE SOFTWARE. 22 | */ 23 | #pragma once 24 | 25 | #include 26 | #include 27 | 28 | class CoverTable 29 | { 30 | public: 31 | CoverTable(int nrows, int ncols) : nrows(nrows), ncols(ncols) 32 | { 33 | rows.resize(nrows); 34 | cols.resize(ncols); 35 | } 36 | 37 | inline void coverRow(int row) 38 | { 39 | rows[row] = 1; 40 | } 41 | 42 | inline void coverCol(int col) 43 | { 44 | cols[col] = 1; 45 | } 46 | 47 | inline void uncoverRow(int row) 48 | { 49 | rows[row] = 0; 50 | } 51 | 52 | inline void uncoverCol(int col) 53 | { 54 | cols[col] = 0; 55 | } 56 | 57 | inline bool isCovered(int row, int col) const 58 | { 59 | return rows[row] || cols[col]; 60 | } 61 | 62 | inline bool isRowCovered(int row) const 63 | { 64 | return rows[row]; 65 | } 66 | 67 | inline bool isColCovered(int col) const 68 | { 69 | return cols[col]; 70 | } 71 | 72 | inline void clear() 73 | { 74 | for (int i = 0; i < nrows; i++) 75 | { 76 | uncoverRow(i); 77 | } 78 | for (int j = 0; j < ncols; j++) 79 | { 80 | uncoverCol(j); 81 | } 82 | } 83 | 84 | const int nrows; 85 | const int ncols; 86 | 87 | private: 88 | std::vector rows; 89 | std::vector cols; 90 | }; 91 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/vehicle/config_infer_secondary_plan_engine_carcolor.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 5 25 | gpu_ids: [0] 26 | max_batch_size: 16 27 | backend { 28 | triton { 29 | model_name: "Secondary_CarColor" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_BGR 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 1 46 | mean_file: "/opt/nvidia/deepstream/deepstream/samples/models/Secondary_CarColor/mean.ppm" 47 | } 48 | } 49 | 50 | postprocess { 51 | labelfile_path: "/opt/nvidia/deepstream/deepstream/samples/models/Secondary_CarColor/labels.txt" 52 | classification { 53 | threshold: 0.51 54 | } 55 | } 56 | 57 | } 58 | input_control { 59 | process_mode: PROCESS_MODE_CLIP_OBJECTS 60 | operate_on_gie_id: 1 61 | operate_on_class_ids: [0] 62 | interval: 0 63 | #async_mode: true 64 | object_control { 65 | bbox_filter { 66 | min_width: 128 67 | min_height: 128 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/peoplenet/config_peoplenet_inferserver.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 3 25 | gpu_ids: [0] 26 | max_batch_size: 8 27 | backend { 28 | triton { 29 | model_name: "peoplenet" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_RGB 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 0.00392156862745098 46 | channel_offsets: [0.0,0.0,0.0] 47 | } 48 | } 49 | 50 | postprocess { 51 | labelfile_path: "../../../../tritonserver/models/peoplenet/labels.txt" 52 | detection { 53 | num_detected_classes: 4 54 | 55 | per_class_params { 56 | key: 0 57 | value { pre_threshold: 0.4 } 58 | } 59 | nms { 60 | confidence_threshold:0.2 61 | topk:20 62 | iou_threshold:0.5 63 | } 64 | } 65 | } 66 | 67 | extra { 68 | copy_input_to_host_buffers: false 69 | output_buffer_pool_size: 6 70 | } 71 | } 72 | input_control { 73 | process_mode: PROCESS_MODE_FULL_FRAME 74 | interval: 0 75 | } 76 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/trafficcamnet/config_trafficcamnet_inferserver.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 3 25 | gpu_ids: [0] 26 | max_batch_size: 8 27 | backend { 28 | triton { 29 | model_name: "trafficcamnet" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_RGB 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 0.00392156862745098 46 | channel_offsets: [0.0,0.0,0.0] 47 | } 48 | } 49 | 50 | postprocess { 51 | labelfile_path: "../../../../tritonserver/models/trafficcamnet/labels.txt" 52 | detection { 53 | num_detected_classes: 4 54 | 55 | per_class_params { 56 | key: 0 57 | value { pre_threshold: 0.4 } 58 | } 59 | nms { 60 | confidence_threshold:0.2 61 | topk:20 62 | iou_threshold:0.5 63 | } 64 | } 65 | } 66 | 67 | extra { 68 | copy_input_to_host_buffers: false 69 | output_buffer_pool_size: 6 70 | } 71 | } 72 | input_control { 73 | process_mode: PROCESS_MODE_FULL_FRAME 74 | interval: 0 75 | } 76 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/yolov4/config_yolov4_inferserver.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | infer_config { 23 | unique_id: 1 24 | gpu_ids: [0] 25 | max_batch_size: 32 26 | backend { 27 | triton { 28 | model_name: "yolov4" 29 | version: -1 30 | model_repo { 31 | root: "../../../../tritonserver/models" 32 | strict_model_config: true 33 | } 34 | } 35 | } 36 | 37 | preprocess { 38 | network_format: IMAGE_FORMAT_RGB 39 | tensor_order: TENSOR_ORDER_LINEAR 40 | tensor_name: "input" 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 0.0039215697906911373 46 | channel_offsets: [128, 128, 128] 47 | } 48 | } 49 | 50 | custom_lib { 51 | path : "../../gst-plugins/gst-nvinferserver/nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.so" 52 | } 53 | 54 | postprocess { 55 | labelfile_path: "./coco.names" 56 | detection { 57 | num_detected_classes: 80 58 | per_class_params { 59 | key: 0 60 | value { pre_threshold: 0.4 } 61 | } 62 | custom_parse_bbox_func:"NvDsInferParseCustomYoloV4" 63 | } 64 | } 65 | 66 | extra { 67 | copy_input_to_host_buffers: false 68 | output_buffer_pool_size: 2 69 | } 70 | } 71 | input_control { 72 | process_mode: PROCESS_MODE_FULL_FRAME 73 | operate_on_gie_id: -1 74 | interval: 0 75 | } 76 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/US_LPD/config_uslpd_inferserver.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 4 25 | gpu_ids: [0] 26 | max_batch_size: 16 27 | backend { 28 | triton { 29 | model_name: "US_LPD" 30 | version: -1 31 | model_repo { 32 | root: "../../../../tritonserver/models" 33 | strict_model_config: true 34 | } 35 | } 36 | } 37 | 38 | preprocess { 39 | network_format: IMAGE_FORMAT_RGB 40 | tensor_order: TENSOR_ORDER_LINEAR 41 | maintain_aspect_ratio: 0 42 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 43 | frame_scaling_filter: 1 44 | normalize { 45 | scale_factor: 0.0039215697906911373 46 | channel_offsets: [0.0,0.0,0.0] 47 | } 48 | } 49 | 50 | postprocess { 51 | labelfile_path: "../../../../tritonserver/models/US_LPD/usa_lpd_label.txt" 52 | detection { 53 | num_detected_classes: 1 54 | per_class_params { 55 | key: 0 56 | value { pre_threshold: 0.4 } 57 | } 58 | nms { 59 | confidence_threshold:0.2 60 | topk:20 61 | iou_threshold:0.5 62 | } 63 | } 64 | } 65 | 66 | extra { 67 | copy_input_to_host_buffers: false 68 | output_buffer_pool_size: 6 69 | } 70 | } 71 | input_control { 72 | operate_on_gie_id: 3 73 | process_mode: PROCESS_MODE_CLIP_OBJECTS 74 | secondary_reinfer_interval: 0 75 | object_control { 76 | bbox_filter { 77 | min_width: 40 78 | min_height: 30 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /tritonclient/sample/apps/deepstream-parallel-infer/deepstream_metamux_yaml.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 3 | * SPDX-License-Identifier: MIT 4 | * 5 | * Permission is hereby granted, free of charge, to any person obtaining a 6 | * copy of this software and associated documentation files (the "Software"), 7 | * to deal in the Software without restriction, including without limitation 8 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 | * and/or sell copies of the Software, and to permit persons to whom the 10 | * Software is furnished to do so, subject to the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included in 13 | * all copies or substantial portions of the Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | * DEALINGS IN THE SOFTWARE. 22 | */ 23 | 24 | #include "deepstream_common.h" 25 | #include "deepstream_config_yaml.h" 26 | #include 27 | #include 28 | #include 29 | 30 | using std::cout; 31 | using std::endl; 32 | 33 | gboolean 34 | parse_metamux_yaml (NvDsMetaMuxConfig *config, gchar* cfg_file_path) 35 | { 36 | gboolean ret = FALSE; 37 | 38 | YAML::Node configyml = YAML::LoadFile(cfg_file_path); 39 | for(YAML::const_iterator itr = configyml["meta-mux"].begin(); 40 | itr != configyml["meta-mux"].end(); ++itr) 41 | { 42 | std::string paramKey = itr->first.as(); 43 | if (paramKey == "enable") { 44 | config->enable = itr->second.as(); 45 | } else if (paramKey == "config-file") { 46 | std::string temp = itr->second.as(); 47 | char* str = (char*) malloc(sizeof(char) * 1024); 48 | std::strncpy (str, temp.c_str(), 1024); 49 | config->config_file_path = (char*) malloc(sizeof(char) * 1024); 50 | if (!get_absolute_file_path_yaml (cfg_file_path, str, 51 | config->config_file_path)) { 52 | g_printerr ("Error: Could not parse config-file-path in metamux.\n"); 53 | g_free (str); 54 | goto done; 55 | } 56 | g_free (str); 57 | } else { 58 | cout << "[WARNING] Unknown param found in metamux: " << paramKey << endl; 59 | } 60 | } 61 | 62 | ret = TRUE; 63 | done: 64 | if (!ret) { 65 | cout << __func__ << " failed" << endl; 66 | } 67 | return ret; 68 | } 69 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/vehicle/config_infer_plan_engine_primary.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2022 NVIDIA Corporation. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | infer_config { 24 | unique_id: 1 25 | gpu_ids: [0] 26 | max_batch_size: 30 27 | backend { 28 | inputs: [ { 29 | name: "input_1" 30 | }] 31 | outputs: [ 32 | {name: "conv2d_bbox"}, 33 | {name: "conv2d_cov/Sigmoid"} 34 | ] 35 | triton { 36 | model_name: "Primary_Detector" 37 | version: -1 38 | model_repo { 39 | root: "../../../../tritonserver/models" 40 | strict_model_config: true 41 | } 42 | } 43 | } 44 | 45 | preprocess { 46 | network_format: MEDIA_FORMAT_NONE 47 | tensor_order: TENSOR_ORDER_LINEAR 48 | tensor_name: "input_1" 49 | maintain_aspect_ratio: 0 50 | frame_scaling_hw: FRAME_SCALING_HW_DEFAULT 51 | frame_scaling_filter: 1 52 | normalize { 53 | scale_factor: 0.0039215697906911373 54 | channel_offsets: [0, 0, 0] 55 | } 56 | } 57 | 58 | postprocess { 59 | labelfile_path: "/opt/nvidia/deepstream/deepstream/samples/models/Primary_Detector/labels.txt" 60 | detection { 61 | num_detected_classes: 4 62 | per_class_params { 63 | key: 0 64 | value { pre_threshold: 0.4 } 65 | } 66 | nms { 67 | confidence_threshold:0.2 68 | topk:20 69 | iou_threshold:0.5 70 | } 71 | } 72 | } 73 | 74 | extra { 75 | copy_input_to_host_buffers: false 76 | output_buffer_pool_size: 2 77 | } 78 | } 79 | input_control { 80 | process_mode: PROCESS_MODE_FULL_FRAME 81 | operate_on_gie_id: -1 82 | interval: 0 83 | } 84 | -------------------------------------------------------------------------------- /tritonclient/sample/apps/deepstream-parallel-infer/Makefile: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved. 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | ################################################################################ 22 | 23 | APP:= deepstream-parallel-infer 24 | 25 | TARGET_DEVICE = $(shell gcc -dumpmachine | cut -f1 -d -) 26 | 27 | LIB_INSTALL_DIR?=/opt/nvidia/deepstream/deepstream/lib/ 28 | APP_INSTALL_DIR?=/opt/nvidia/deepstream/deepstream/bin/ 29 | 30 | ifeq ($(TARGET_DEVICE),aarch64) 31 | CFLAGS:= -DPLATFORM_TEGRA 32 | endif 33 | 34 | #SRCS:= $(wildcard *.c) $(wildcard *.cpp) 35 | SRCS:= deepstream_parallel_infer_app.cpp \ 36 | deepstream_parallel_infer_config_parser.cpp 37 | 38 | SRCS+= $(wildcard /opt/nvidia/deepstream/deepstream/sources/apps/apps-common/src/*.c) 39 | SRCS+= $(wildcard /opt/nvidia/deepstream/deepstream/sources/apps/apps-common/src/deepstream-yaml/*.cpp) 40 | 41 | INCS:= $(wildcard *.h) 42 | 43 | PKGS:= gstreamer-1.0 gstreamer-video-1.0 x11 json-glib-1.0 44 | 45 | OBJS:= $(SRCS:.c=.o) 46 | OBJS:= $(OBJS:.cpp=.o) 47 | 48 | CFLAGS+= -g -I./ -I/opt/nvidia/deepstream/deepstream/sources/apps/apps-common/includes \ 49 | -I/opt/nvidia/deepstream/deepstream/sources/includes \ 50 | -I /usr/local/cuda/include 51 | 52 | LIBS:= -L/usr/local/cuda/lib64/ -lcudart 53 | 54 | LIBS+= -L$(LIB_INSTALL_DIR) -lnvdsgst_meta -lnvds_meta -lnvdsgst_helper \ 55 | -lnvdsgst_smartrecord -lnvds_utils -lnvds_msgbroker -lm -lyaml-cpp \ 56 | -lcuda -lgstrtspserver-1.0 -ldl -Wl,-rpath,$(LIB_INSTALL_DIR) 57 | 58 | CFLAGS+= $(shell pkg-config --cflags $(PKGS)) 59 | 60 | LIBS+= $(shell pkg-config --libs $(PKGS)) 61 | 62 | all: $(APP) 63 | 64 | %.o: %.c $(INCS) Makefile 65 | $(CC) -c -o $@ $(CFLAGS) $< 66 | 67 | %.o: %.cpp $(INCS) Makefile 68 | $(CXX) -c -o $@ $(CFLAGS) $< 69 | 70 | $(APP): $(OBJS) Makefile 71 | $(CXX) -o $(APP) $(OBJS) $(LIBS) 72 | 73 | install: $(APP) 74 | cp -rv $(APP) $(APP_INSTALL_DIR) 75 | 76 | clean: 77 | rm -rf $(OBJS) $(APP) 78 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/analytics0.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | [property] 25 | enable=1 26 | #Width height used for configuration to which below configs are configured 27 | config-width=1920 28 | config-height=1080 29 | #osd-mode 0: Dont display any lines, rois and text 30 | # 1: Display only lines, rois and static text i.e. labels 31 | # 2: Display all info from 1 plus information about counts 32 | osd-mode=2 33 | #Set OSD font size that has to be displayed 34 | display-font-size=12 35 | 36 | ## Per stream configuration 37 | [roi-filtering-stream-0] 38 | #enable or disable following feature 39 | enable=0 40 | #ROI to filter select objects, and remove from meta data 41 | roi-RF=295;643;579;634;642;913;56;828 42 | #remove objects in the ROI 43 | inverse-roi=0 44 | class-id=-1 45 | 46 | ## Per stream configuration 47 | [roi-filtering-stream-2] 48 | #enable or disable following feature 49 | enable=0 50 | #ROI to filter select objects, and remove from meta data 51 | roi-RF=295;643;579;634;642;913;56;828 52 | #remove objects in the ROI 53 | inverse-roi=1 54 | class-id=0 55 | 56 | [overcrowding-stream-1] 57 | enable=0 58 | roi-OC=295;643;579;634;642;913;56;828 59 | #no of objects that will trigger OC 60 | object-threshold=3 61 | class-id=-1 62 | 63 | [line-crossing-stream-1] 64 | enable=1 65 | #Label;direction;lc 66 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 67 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 68 | class-id=-1 69 | #extended when 0- only counts crossing on the configured Line 70 | # 1- assumes extended Line crossing counts all the crossing 71 | extended=0 72 | #LC modes supported: 73 | #loose : counts all crossing without strong adherence to direction 74 | #balanced: Strict direction adherence expected compared to mode=loose 75 | #strict : Strict direction adherence expected compared to mode=balanced 76 | mode=loose 77 | 78 | [direction-detection-stream-0] 79 | enable=0 80 | #Label;direction; 81 | direction-South=284;840;360;662; 82 | direction-North=1106;622;1312;701; 83 | class-id=0 84 | 85 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/yolov4/config_yolov4_infer.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # 3 | # Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | ################################################################################ 18 | 19 | # Following properties are mandatory when engine files are not specified: 20 | # int8-calib-file(Only in INT8), model-file-format 21 | # Caffemodel mandatory properties: model-file, proto-file, output-blob-names 22 | # UFF: uff-file, input-dims, uff-input-blob-name, output-blob-names 23 | # ONNX: onnx-file 24 | # 25 | # Mandatory properties for detectors: 26 | # num-detected-classes 27 | # 28 | # Optional properties for detectors: 29 | # cluster-mode(Default=Group Rectangles), interval(Primary mode only, Default=0) 30 | # custom-lib-path 31 | # parse-bbox-func-name 32 | # 33 | # Mandatory properties for classifiers: 34 | # classifier-threshold, is-classifier 35 | # 36 | # Optional properties for classifiers: 37 | # classifier-async-mode(Secondary mode only, Default=false) 38 | # 39 | # Optional properties in secondary mode: 40 | # operate-on-gie-id(Default=0), operate-on-class-ids(Defaults to all classes), 41 | # input-object-min-width, input-object-min-height, input-object-max-width, 42 | # input-object-max-height 43 | # 44 | # Following properties are always recommended: 45 | # batch-size(Default=1) 46 | # 47 | # Other optional properties: 48 | # net-scale-factor(Default=1), network-mode(Default=0 i.e FP32), 49 | # model-color-format(Default=0 i.e. RGB) model-engine-file, labelfile-path, 50 | # mean-file, gie-unique-id(Default=0), offsets, process-mode (Default=1 i.e. primary), 51 | # custom-lib-path, network-mode(Default=0 i.e FP32) 52 | # 53 | # The values in the config file are overridden by values set through GObject 54 | # properties. 55 | 56 | [property] 57 | gpu-id=0 58 | net-scale-factor=0.0039215697906911373 59 | #0=RGB, 1=BGR 60 | model-color-format=0 61 | onnx-file=../../../../tritonserver/models/yolov4/1/yolov4_-1_3_416_416_dynamic.onnx.nms.onnx 62 | model-engine-file=../../../../tritonserver/models/yolov4/1/yolov4_-1_3_416_416_dynamic.onnx.nms.onnx_b4_gpu0_fp16.engine 63 | labelfile-path=coco.names 64 | batch-size=1 65 | ## 0=FP32, 1=INT8, 2=FP16 mode 66 | network-mode=2 67 | num-detected-classes=80 68 | gie-unique-id=1 69 | network-type=0 70 | is-classifier=0 71 | ## 0=Group Rectangles, 1=DBSCAN, 2=NMS, 3= DBSCAN+NMS Hybrid, 4 = None(No clustering) 72 | cluster-mode=2 73 | maintain-aspect-ratio=1 74 | parse-bbox-func-name=NvDsInferParseCustomYoloV4 75 | custom-lib-path=../../gst-plugins/gst-nvinferserver/nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.so 76 | #scaling-filter=0 77 | #scaling-compute-hw=0 78 | 79 | [class-attrs-all] 80 | nms-iou-threshold=0.6 81 | pre-cluster-threshold=0.4 82 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/analytics1.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/analytics2.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/analytics0.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=1 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=1 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=1 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-0] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=0 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=1 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/analytics1.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=1 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=1 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=1 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-0] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=0 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=1 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/analytics2.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/analytics0.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/analytics1.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/analytics2.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/analytics1.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/analytics2.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/analytics0.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/analytics1.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/analytics2.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=0 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=0 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=0 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-1] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=-1 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=0 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo/config_nvdsanalytics.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=1 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=1 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=1 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-0] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=0 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=1 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/config_nvdsanalytics.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=1 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=1 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=1 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-0] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=0 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=1 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_win1/config_nvdsanalytics.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=1 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=1 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=1 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-0] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=0 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=1 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/analytics0.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | 25 | # The values in the config file are overridden by values set through GObject 26 | # properties. 27 | 28 | [property] 29 | enable=1 30 | #Width height used for configuration to which below configs are configured 31 | config-width=1920 32 | config-height=1080 33 | #osd-mode 0: Dont display any lines, rois and text 34 | # 1: Display only lines, rois and static text i.e. labels 35 | # 2: Display all info from 1 plus information about counts 36 | osd-mode=2 37 | #Set OSD font size that has to be displayed 38 | display-font-size=12 39 | 40 | ## Per stream configuration 41 | [roi-filtering-stream-0] 42 | #enable or disable following feature 43 | enable=0 44 | #ROI to filter select objects, and remove from meta data 45 | roi-RF=295;643;579;634;642;913;56;828 46 | #remove objects in the ROI 47 | inverse-roi=0 48 | class-id=-1 49 | 50 | ## Per stream configuration 51 | [roi-filtering-stream-2] 52 | #enable or disable following feature 53 | enable=0 54 | #ROI to filter select objects, and remove from meta data 55 | roi-RF=295;643;579;634;642;913;56;828 56 | #remove objects in the ROI 57 | inverse-roi=1 58 | class-id=0 59 | 60 | [overcrowding-stream-1] 61 | enable=0 62 | roi-OC=295;643;579;634;642;913;56;828 63 | #no of objects that will trigger OC 64 | object-threshold=3 65 | class-id=-1 66 | 67 | [line-crossing-stream-1] 68 | enable=1 69 | #Label;direction;lc 70 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 71 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 72 | class-id=-1 73 | #extended when 0- only counts crossing on the configured Line 74 | # 1- assumes extended Line crossing counts all the crossing 75 | extended=0 76 | #LC modes supported: 77 | #loose : counts all crossing without strong adherence to direction 78 | #balanced: Strict direction adherence expected compared to mode=loose 79 | #strict : Strict direction adherence expected compared to mode=balanced 80 | mode=loose 81 | 82 | [direction-detection-stream-0] 83 | enable=0 84 | #Label;direction; 85 | direction-South=284;840;360;662; 86 | direction-North=1106;622;1312;701; 87 | class-id=0 88 | 89 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle0_lpr_analytic/config_nvdsanalytics.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=1 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=1 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=1 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-0] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=0 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=1 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/vehicle_lpr_analytic/config_nvdsanalytics.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | # The values in the config file are overridden by values set through GObject 25 | # properties. 26 | 27 | [property] 28 | enable=1 29 | #Width height used for configuration to which below configs are configured 30 | config-width=1920 31 | config-height=1080 32 | #osd-mode 0: Dont display any lines, rois and text 33 | # 1: Display only lines, rois and static text i.e. labels 34 | # 2: Display all info from 1 plus information about counts 35 | osd-mode=2 36 | #Set OSD font size that has to be displayed 37 | display-font-size=12 38 | 39 | ## Per stream configuration 40 | [roi-filtering-stream-0] 41 | #enable or disable following feature 42 | enable=1 43 | #ROI to filter select objects, and remove from meta data 44 | roi-RF=295;643;579;634;642;913;56;828 45 | #remove objects in the ROI 46 | inverse-roi=0 47 | class-id=-1 48 | 49 | ## Per stream configuration 50 | [roi-filtering-stream-2] 51 | #enable or disable following feature 52 | enable=1 53 | #ROI to filter select objects, and remove from meta data 54 | roi-RF=295;643;579;634;642;913;56;828 55 | #remove objects in the ROI 56 | inverse-roi=1 57 | class-id=0 58 | 59 | [overcrowding-stream-1] 60 | enable=1 61 | roi-OC=295;643;579;634;642;913;56;828 62 | #no of objects that will trigger OC 63 | object-threshold=3 64 | class-id=-1 65 | 66 | [line-crossing-stream-0] 67 | enable=1 68 | #Label;direction;lc 69 | #line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020; 70 | line-crossing-Exit=789;672;1084;900;851;773;1203;732 71 | class-id=0 72 | #extended when 0- only counts crossing on the configured Line 73 | # 1- assumes extended Line crossing counts all the crossing 74 | extended=0 75 | #LC modes supported: 76 | #loose : counts all crossing without strong adherence to direction 77 | #balanced: Strict direction adherence expected compared to mode=loose 78 | #strict : Strict direction adherence expected compared to mode=balanced 79 | mode=loose 80 | 81 | [direction-detection-stream-0] 82 | enable=1 83 | #Label;direction; 84 | direction-South=284;840;360;662; 85 | direction-North=1106;622;1312;701; 86 | class-id=0 87 | 88 | -------------------------------------------------------------------------------- /tritonclient/sample/apps/deepstream-parallel-infer/CLA_LICENSE.md: -------------------------------------------------------------------------------- 1 | # Individual Contributor License Agreement (CLA) 2 | 3 | Thank you for submitting your contributions to this project. 4 | 5 | By signing this CLA, you agree that the following terms apply to all of your past, present and future contributions to the project. 6 | 7 | ## License. 8 | You hereby represent that all present, past and future contributions are governed by the MIT License copyright statement. 9 | 10 | This entails that to the extent possible under law, you transfer all copyright and related or neighboring rights of the code or documents you contribute to the project itself or its maintainers. Furthermore you also represent that you have the authority to perform the above waiver with respect to the entirety of you contributions. 11 | 12 | ## Moral Rights. 13 | To the fullest extent permitted under applicable law, you hereby waive, and agree not to assert, all of your “moral rights” in or relating to your contributions for the benefit of the project. 14 | 15 | ## Third Party Content. 16 | If your Contribution includes or is based on any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that were not authored by you (“Third Party Content”) or if you are aware of any third party intellectual property or proprietary rights associated with your Contribution (“Third Party Rights”), then you agree to include with the submission of your Contribution full details respecting such Third Party Content and Third Party Rights, including, without limitation, identification of which aspects of your Contribution contain Third Party Content or are associated with Third Party Rights, the owner/author of the Third Party Content and Third Party Rights, where you obtained the Third Party Content, and any applicable third party license terms or restrictions respecting the Third Party Content and Third Party Rights. For greater certainty, the foregoing obligations respecting the identification of Third Party Content and Third Party Rights do not apply to any portion of a Project that is incorporated into your Contribution to that same Project. 17 | 18 | ## Representations. 19 | You represent that, other than the Third Party Content and Third Party Rights identified by you in accordance with this Agreement, you are the sole author of your Contributions and are legally entitled to grant the foregoing licenses and waivers in respect of your Contributions. If your Contributions were created in the course of your employment with your past or present employer(s), you represent that such employer(s) has authorized you to make your Contributions on behalf of such employer(s) or such employer (s) has waived all of their right, title or interest in or to your Contributions. 20 | 21 | ## Disclaimer. 22 | To the fullest extent permitted under applicable law, your Contributions are provided on an "as is" basis, without any warranties or conditions, express or implied, including, without limitation, any implied warranties or conditions of non-infringement, merchantability or fitness for a particular purpose. You are not required to provide support for your Contributions, except to the extent you desire to provide support. 23 | 24 | ## No Obligation. 25 | You acknowledge that the maintainers of this project are under no obligation to use or incorporate your contributions into the project. The decision to use or incorporate your contributions into the project will be made at the sole discretion of the maintainers or their authorized delegates. -------------------------------------------------------------------------------- /tritonclient/sample/gst-plugins/gst-nvinferserver/nvdsinfer_custom_impl_Yolo/nvdsparsebbox_Yolo.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 3 | * SPDX-License-Identifier: MIT 4 | * 5 | * Permission is hereby granted, free of charge, to any person obtaining a 6 | * copy of this software and associated documentation files (the "Software"), 7 | * to deal in the Software without restriction, including without limitation 8 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 | * and/or sell copies of the Software, and to permit persons to whom the 10 | * Software is furnished to do so, subject to the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included in 13 | * all copies or substantial portions of the Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | * DEALINGS IN THE SOFTWARE. 22 | */ 23 | 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include "nvdsinfer_custom_impl.h" 32 | 33 | static const int NUM_CLASSES_YOLO = 80; 34 | 35 | float clamp(const float val, const float minVal, const float maxVal) 36 | { 37 | assert(minVal <= maxVal); 38 | return std::min(maxVal, std::max(minVal, val)); 39 | } 40 | 41 | extern "C" bool NvDsInferParseCustomYoloV4( 42 | std::vector const& outputLayersInfo, 43 | NvDsInferNetworkInfo const& networkInfo, 44 | NvDsInferParseDetectionParams const& detectionParams, 45 | std::vector& objectList); 46 | 47 | extern "C" bool NvDsInferParseCustomYoloV4( 48 | std::vector const& outputLayersInfo, 49 | NvDsInferNetworkInfo const& networkInfo, 50 | NvDsInferParseDetectionParams const& detectionParams, 51 | std::vector& objectList) 52 | { 53 | if (NUM_CLASSES_YOLO != detectionParams.numClassesConfigured) 54 | { 55 | std::cerr << "WARNING: Num classes mismatch. Configured:" 56 | << detectionParams.numClassesConfigured 57 | << ", detected by network: " << NUM_CLASSES_YOLO << std::endl; 58 | } 59 | 60 | std::vector objects; 61 | uint num_bboxes; 62 | float *score_buffer; 63 | float *bbox_buffer; 64 | 65 | 66 | for (int i=0; i 0.1) { 81 | outObj.left = bbox_buffer[n*4] * networkInfo.width; 82 | outObj.top = bbox_buffer[n*4+1] * networkInfo.height; 83 | outObj.width = (bbox_buffer[n*4+2]-bbox_buffer[n*4]) * networkInfo.width; 84 | outObj.height = (bbox_buffer[n*4+3]-bbox_buffer[n*4+1]) * networkInfo.height; 85 | outObj.classId=n; 86 | outObj.detectionConfidence=score_buffer[n]; 87 | objectList.push_back(outObj); 88 | } 89 | } 90 | 91 | return true; 92 | } 93 | /* YOLOv4 implementations end*/ 94 | 95 | 96 | /* Check that the custom function has been defined correctly */ 97 | CHECK_CUSTOM_PARSE_FUNC_PROTOTYPE(NvDsInferParseCustomYoloV4); 98 | -------------------------------------------------------------------------------- /tritonclient/sample/configs/apps/bodypose_yolo_lpr/dstest5_msgconv_sample_config.yml: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: Copyright (c) <2022> NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | # 4 | # Permission is hereby granted, free of charge, to any person obtaining a 5 | # copy of this software and associated documentation files (the "Software"), 6 | # to deal in the Software without restriction, including without limitation 7 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | # and/or sell copies of the Software, and to permit persons to whom the 9 | # Software is furnished to do so, subject to the following conditions: 10 | # 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # The values in the config file are overridden by values set through GObject 22 | # properties. 23 | 24 | sensor0: 25 | enable: 1 26 | type: Camera 27 | id: HWY_20_AND_LOCUST__EBA__4_11_2018_4_59_59_508_AM_UTC-07_00 28 | location: 45.293701447;-75.8303914499;48.1557479338 29 | description: Aisle Camera 30 | coordinate: 5.2;10.1;11.2 31 | 32 | sensor1: 33 | enable: 1 34 | type: Camera 35 | id: HWY_20_AND_LOCUST__WBA__4_11_2018_4_59_59_379_AM_UTC-07_00 36 | location: 45.293701447;-75.8303914499;48.1557479338 37 | description: Aisle Camera 38 | coordinate: 5.2;10.1;11.2 39 | 40 | sensor2: 41 | enable: 1 42 | type: Camera 43 | id: HWY_20_AND_DEVON__WBA__4_11_2018_4_59_59_134_AM_UTC-07_00 44 | location: 45.293701447;-75.8303914499;48.1557479338 45 | description: Aisle Camera 46 | coordinate: 5.2;10.1;11.2 47 | 48 | sensor3: 49 | enable: 1 50 | type: Camera 51 | id: HWY_20_AND_LOCUST__4_11_2018_4_59_59_320_AM_UTC-07_00 52 | location: 45.293701447;-75.8303914499;48.1557479338 53 | description: Aisle Camera 54 | coordinate: 5.2;10.1;11.2 55 | 56 | place0: 57 | enable: 1 58 | id: 0 59 | type: intersection/road 60 | name: HWY_20_AND_LOCUST__EBA 61 | location: 30.32;-40.55;100.0 62 | coordinate: 1.0;2.0;3.0 63 | place-sub-field1: C_127_158 64 | place-sub-field2: Lane 1 65 | place-sub-field3: P1 66 | 67 | place1: 68 | enable: 1 69 | id: 1 70 | type: intersection/road 71 | name: HWY_20_AND_LOCUST__WBA 72 | location: 30.32;-40.55;100.0 73 | coordinate: 1.0;2.0;3.0 74 | place-sub-field1: C_127_158 75 | place-sub-field2: Lane 1 76 | place-sub-field3: P1 77 | 78 | place2: 79 | enable: 1 80 | id: 2 81 | type: intersection/road 82 | name: HWY_20_AND_DEVON__WBA 83 | location: 30.32;-40.55;100.0 84 | coordinate: 1.0;2.0;3.0 85 | place-sub-field1: C_127_158 86 | place-sub-field2: Lane 1 87 | place-sub-field3: P1 88 | 89 | place3: 90 | enable: 1 91 | id: 3 92 | type: intersection/road 93 | name: HWY_20_AND_LOCUST 94 | location: 30.32;-40.55;100.0 95 | coordinate: 1.0;2.0;3.0 96 | place-sub-field1: C_127_158 97 | place-sub-field2: Lane 1 98 | place-sub-field3: P1 99 | 100 | analytics0: 101 | enable: 1 102 | id: XYZ_1 103 | description: Vehicle Detection and License Plate Recognition 104 | source: OpenALR 105 | version: 1.0 106 | 107 | analytics1: 108 | enable: 1 109 | id: XYZ_2 110 | description: Vehicle Detection and License Plate Recognition 1 111 | source: OpenALR 112 | version: 1.0 113 | 114 | analytics2: 115 | enable: 1 116 | id: XYZ_3 117 | description: Vehicle Detection and License Plate Recognition 2 118 | source: OpenALR 119 | version: 1.0 120 | 121 | analytics3: 122 | enable: 1 123 | id: XYZ_4 124 | description: Vehicle Detection and License Plate Recognition 4 125 | source: OpenALR 126 | version: 1.0 127 | --------------------------------------------------------------------------------