|
|
|
@ -554,7 +554,7 @@ ${newstr}class-id=0
|
|
|
|
|
config2 = `# The all in one config file.
|
|
|
|
|
|
|
|
|
|
debug: false #when the debug is on, osd. |
|
|
|
|
video_record: 15 #time to record into the .ts video |
|
|
|
|
video_record: 10 #time to record into the .ts video |
|
|
|
|
|
|
|
|
|
sources: |
|
|
|
|
config: 'config/source.yaml' |
|
|
|
@ -616,7 +616,7 @@ fire_smoke_net:
|
|
|
|
|
apply_on: -1 |
|
|
|
|
interval: 1 |
|
|
|
|
batch_size: 16 |
|
|
|
|
model_engine_file: '/opt/nvidia/deepstream/deepstream-6.0/sources/project/models/fire_smoke_net/weights/yolov4_cspdarknet_tiny_fp16.etlt_b2_gpu0_fp16.engine' |
|
|
|
|
model_engine_file: '/opt/nvidia/deepstream/deepstream-6.0/sources/project/models/fire_smoke_net/weights/yolov4_cspdarknet_tiny_fp16.etlt_b16_gpu0_fp16.engine' |
|
|
|
|
threshold: 0.95 |
|
|
|
|
|
|
|
|
|
# 5:抽烟打电话检测 |
|
|
|
@ -674,12 +674,12 @@ connet_grounder:
|
|
|
|
|
|
|
|
|
|
# 5:散装桶加油 |
|
|
|
|
bulk_oil_net: |
|
|
|
|
enable: true |
|
|
|
|
enable: False |
|
|
|
|
apply_on: 2 |
|
|
|
|
interval: 1 |
|
|
|
|
batch_size: 2 |
|
|
|
|
model_engine_file: '/opt/nvidia/deepstream/deepstream-6.0/sources/project/models/bulk_oil_net/weights/yolov4_cspdarknet_tiny_fp16.etlt_b2_gpu0_fp16.engine' |
|
|
|
|
threshold: 0.3 |
|
|
|
|
threshold: 0.2 |
|
|
|
|
|
|
|
|
|
# 模型阈值通用设定 |
|
|
|
|
rule_threshold: |
|
|
|
@ -701,7 +701,7 @@ rule_threshold:
|
|
|
|
|
config3 = `# The all in one config file.
|
|
|
|
|
|
|
|
|
|
debug: false #when the debug is on, osd. |
|
|
|
|
video_record: 15 #time to record into the .ts video |
|
|
|
|
video_record: 10 #time to record into the .ts video |
|
|
|
|
|
|
|
|
|
sources: |
|
|
|
|
config: 'config/source.yaml' |
|
|
|
@ -726,7 +726,7 @@ peoplenet:
|
|
|
|
|
detected-min-w: 20
|
|
|
|
|
detected-min-h: 200 |
|
|
|
|
model_engine_file: '/opt/nvidia/deepstream/deepstream-6.0/sources/project/models/peoplenet/weights/resnet34_peoplenet_int8.etlt_b16_gpu0_int8.engine' |
|
|
|
|
threshold: 0.8 |
|
|
|
|
threshold: 0.3 |
|
|
|
|
|
|
|
|
|
# 2:车辆检测 |
|
|
|
|
trafficcam: |
|
|
|
@ -763,7 +763,7 @@ fire_smoke_net:
|
|
|
|
|
apply_on: -1 |
|
|
|
|
interval: 1 |
|
|
|
|
batch_size: 16 |
|
|
|
|
model_engine_file: '/opt/nvidia/deepstream/deepstream-6.0/sources/project/models/fire_smoke_net/weights/yolov4_cspdarknet_tiny_fp16.etlt_b2_gpu0_fp32.engine' |
|
|
|
|
model_engine_file: '/opt/nvidia/deepstream/deepstream-6.0/sources/project/models/fire_smoke_net/weights/yolov4_cspdarknet_tiny_fp16.etlt_b16_gpu0_fp32.engine' |
|
|
|
|
threshold: 0.95 |
|
|
|
|
|
|
|
|
|
# 5:抽烟打电话检测 |
|
|
|
@ -821,7 +821,7 @@ connet_grounder:
|
|
|
|
|
|
|
|
|
|
# 5:散装桶加油 |
|
|
|
|
bulk_oil_net: |
|
|
|
|
enable: true |
|
|
|
|
enable: False |
|
|
|
|
apply_on: 2 |
|
|
|
|
interval: 1 |
|
|
|
|
batch_size: 2 |
|
|
|
|