Deepstream6.0诡秘的参数配置(持续更新)#deepstream
##帧率调参:
[source0]
丢弃帧,除法
drop-frame-interval=5
旧版本有设置是否检测关键帧  参数dec-skip-frames,控制全帧、参考帧和关键帧,后来在代码逻辑判断,识别nvcuvid和nvv4l2decoder模块,然后判断intra-decode-enable来设置dec-skip-frame参数。
配置⽂件格式:intra-decode-enable=1需要确认代码是否写死,判断是否⽣效
[sink1]
设置输出的关键帧max为30,代码⾥⾯写死在⽣成file输出时,30/iframeinterval
iframeinterval=10
##代码写死的内容:
1、影响:1、独⽴检测
2、级联检测
deepstream_secondary_gie_bin.c
g_object_set (G_OBJECT (bin->primary_gie),
"config-file-path", GET_FILE_PATH (config->config_file_path),
"process-mode", 1, NULL);
##分类模型
is-classifier=0
# Mandatory properties for detectors:
#  num-detected-classes
#
decoder# Optional properties for detectors:
#  cluster-mode(Default=Group Rectangles), interval(Primary mode only, Default=0)
#  custom-lib-path,
#  parse-bbox-func-name
#
# Mandatory properties for classifiers:
#  classifier-threshold, is-classifier
#
# Optional properties for classifiers:
#  classifier-async-mode(Secondary mode only, Default=false)
#
# Optional properties in secondary mode:
#  operate-on-gie-id(Default=0), operate-on-class-ids(Defaults to all classes),
#  input-object-min-width, input-object-min-height, input-object-max-width,
#  input-object-max-height
#
# Following properties are always recommended:
#  batch-size(Default=1)
#
# Other optional properties:
#  net-scale-factor(Default=1), network-mode(Default=0 i.e FP32),
#  model-color-format(Default= RGB) model-engine-file, labelfile-path,
#  mean-file, gie-unique-id(Default=0), offsets, process-mode (Default= primary),
#  custom-lib-path, network-mode(Default=0 i.e FP32)
奇葩参数:
1、overlay-id=1 设置了此参数才能展⽰画⾯,单使⽤showplay不显⽰
2、在删除pipline的时候,这个时间延时,决定了,deepstream删除流成功返回的时间,毕竟是单线程操作,不建议此参数过⼤[streammux]
batched-push-timeout=40000

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。