[7:38 pm] Milap Bhuva ################################################################################ # Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. ################################################################################   # The values in the config file are overridden by values set through GObject # properties.   [property] enable=1   # list of component gie-id for which tensor is prepared target-unique-ids=1   # 0=NCHW, 1=NHWC, 2=CUSTOM network-input-order=0   # 0=process on objects 1=process on frames process-on-frame=1   #uniquely identify the metadata generated by this element unique-id=5   # gpu-id to be used gpu-id=0   # if enabled maintain the aspect ratio while scaling maintain-aspect-ratio=1   # if enabled pad symmetrically with maintain-aspect-ratio enabled symmetric-padding=0   #operate-on-gie-id=-1 operate-on-class-ids=1 # processig width/height at which image scaled processing-width=500 processing-height=700   # max buffer in scaling buffer pool scaling-buf-pool-size=6   # max buffer in tensor buffer pool tensor-buf-pool-size=6   # tensor shape based on network-input-order network-input-shape= 200;3;700;500   # 0=RGB, 1=BGR, 2=GRAY network-color-format=0   # 0=FP32, 1=UINT8, 2=INT8, 3=UINT32, 4=INT32, 5=FP16 tensor-data-type=0   # tensor name same as input layer name tensor-name=INPUT   # 0=NVBUF_MEM_DEFAULT 1=NVBUF_MEM_CUDA_PINNED 2=NVBUF_MEM_CUDA_DEVICE 3=NVBUF_MEM_CUDA_UNIFIED scaling-pool-memory-type=0   # 0=NvBufSurfTransformCompute_Default 1=NvBufSurfTransformCompute_GPU 2=NvBufSurfTransformCompute_VIC scaling-pool-compute-hw=0     # Scaling Interpolation method     # 0=NvBufSurfTransformInter_Nearest 1=NvBufSurfTransformInter_Bilinear 2=NvBufSurfTransformInter_Algo1     # 3=NvBufSurfTransformInter_Algo2 4=NvBufSurfTransformInter_Algo3 5=NvBufSurfTransformInter_Algo4     # 6=NvBufSurfTransformInter_Default   scaling-filter=3   # custom library .so path having custom functionality custom-lib-path=/opt/nvidia/deepstream/deepstream/lib/gst-plugins/libcustom2d_preprocess.so # custom tensor preparation function name having predefined input/outputs # check the default custom library nvdspreprocess_lib for more info custom-tensor-preparation-function=CustomTensorPreparation   [user-configs]    # Below parameters get used when using default custom library nvdspreprocess_lib    # network scaling factor pixel-normalization-factor=1      # mean file path in ppm format #mean-file=    # array of offsets for each channel #offsets=   [group-0] src-ids=0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24 process-on-roi=0 roi-params-src-0=300;200;700;800;1300;300;600;700 roi-params-src-1=860;300;900;500;50;300;500;700