################################################################################ # Copyright (c) 2021, 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. ################################################################################ # Following properties are mandatory when engine files are not specified: # int8-calib-file(Only in INT8) # Caffemodel mandatory properties: model-file, proto-file, output-blob-names # UFF: uff-file, input-dims, uff-input-blob-name, output-blob-names # ONNX: onnx-file # # Mandatory properties for detectors: # num-detected-classes # # Mandatory properties for classifiers: # classifier-threshold, is-classifier # # Optional properties for classifiers: # classifier-async-mode(Secondary mode only, Default=false) # # Following properties are always recommended: # batch-size(Default=1) # # Other optional properties: # net-scale-factor(Default=1), network-mode(Default=0 i.e FP32), # mean-file, gie-unique-id(Default=0), offsets, gie-mode (Default=1 i.e. primary), # custom-lib-path, network-mode(Default=0 i.e FP32) # # The values in the config file are overridden by values set through GObject # properties. [property] gpu-id=0 net-scale-factor=0.00392156862745098 # tlt-model-key=nvidia_tlt # tlt-encoded-model=./models/LPR/ch_lprnet_baseline18_deployable.etlt labelfile-path=dict.txt model-engine-file=./models/LPR/lpr_ch_onnx_b16.engine batch-size=4 process-mode=2 model-color-format=0 ## 0=FP32, 1=INT8, 2=FP16 mode network-mode=2 #0=Detection 1=Classifier 2=Segmentation network-type=1 num-detected-classes=3 # interval=0 gie-unique-id=2 operate-on-gie-id=1 operate-on-class-ids=0 output-blob-names=output_bbox/BiasAdd;output_cov/Sigmoid parse-classifier-func-name=NvDsInferParseCustomNVPlate custom-lib-path=./lpr_parser/libnvdsinfer_custom_impl_lpr.so classifier-threshold=0.2