objectDetector_YoloX_LPR/deepstream_app_config_YOLOX_OCR.txt
nqthai199@gmail.com 24cca83c2e first commit
2022-09-15 14:33:44 +07:00

162 lines
3.6 KiB
Plaintext
Executable File

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=1
[tiled-display]
enable=1
rows=2
columns=2
width=1600
height=900
gpu-id=0
nvbuf-memory-type=0
#rtsp://192.168.1.121:8554/test
[source0]
enable=1
# 1:camera(v4l2) 2: single uri 3:multi uri 4:rtsp 5 camera(CSI) only for Jetson
type=3
#uri=file:///home/thai/manyPlates.mp4
uri=file:///home/thai/manyPlates.mp4
#uri=rtsp://18.179.9.206:55544/test
num-sources=1
gpu-id=0
cudadec-memtype=0
[source1]
enable=0
# 1:camera(v4l2) 2: single uri 3:multi uri 4:rtsp 5 camera(CSI) only for Jetson
type=3
uri=file:///home/thai/manyPlates.mp4
#uri=rtsp://192.168.1.121:8554/test
#uri=rtsp://18.179.9.206:55544/test
num-sources=1
gpu-id=0
cudadec-memtype=0
[source2]
enable=0
# 1:camera(v4l2) 2: single uri 3:multi uri 4:rtsp 5 camera(CSI) only for Jetson
type=3
#uri=file:///home/thai/manyPlates.mp4
uri=file:///home/thai/Desktop/TestOto.mp4
#uri=rtsp://18.179.9.206:55544/test
num-sources=11920
[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=0
source-id=0
gpu-id=0
nvbuf-memory-type=0
[source3]
enable=0
# 1:camera(v4l2) 2: single uri 3:multi uri 4:rtsp 5 camera(CSI) only for Jetson
type=3
#uri=file:///home/thai/manyPlates.mp4
uri=file:///home/thai/Desktop/TestOto.mp4
#uri=rtsp://18.179.9.206:55544/test
num-sources=11920
[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=0
source-id=0
gpu-id=0
nvbuf-memory-type=0
[osd]
enable=1
gpu-id=0
border-width=5
text-size=20
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0
[streammux]
gpu-id=0
##Boolean property to inform muxer that sources are live
live-source=0
batch-size=1
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
batched-push-timeout=40000
## Set muxer output width and height
width=1920
height=1080
##Enable to maintain aspect ratio wrt source, and allow black borders, works
##along with width, height properties
enable-padding=0
nvbuf-memory-type=0
[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
nvbuf-memory-type=0
batch-size=1
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
config-file=license_plate_detection/config_infer_primary_YOLOX.txt
[secondary-gie0]
enable=1
gpu-id=0
gie-unique-id=2
operate-on-gie-id=1
operate-on-class-ids=0;
config-file=license_plate_classification/config_infer_secondary_classify_licenseplate.txt
[tracker]
enable=1
# For NvDCF and DeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively
tracker-width=640
tracker-height=384
ll-lib-file=/opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_nvmultiobjecttracker.so
# ll-config-file required to set different tracker types
# ll-config-file=../../samples/configs/deepstream-app/config_tracker_IOU.yml
ll-config-file=../../samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml
# ll-config-file=../../samples/configs/deepstream-app/config_tracker_NvDCF_accuracy.yml
# ll-config-file=../../samples/configs/deepstream-app/config_tracker_DeepSORT.yml
gpu-id=0
enable-batch-process=1
enable-past-frame=1
display-tracking-id=1
[nvds-analytics]
enable=1
config-file=config_ana.txt
[tests]
file-loop=0
[ds-example]
enable=0
full-frame=1
processing-width=1280
processing-height=720
gpu-id=0
unique-id=999
#[nvds-preprocess]
#enable=1
#gpu-id=0
#config-file=config_preprocess.txt
#unique_id=998