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
    #
    # 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=0 i.e. RGB) model-engine-file, labelfile-path,
    #   mean-file, gie-unique-id(Default=0), offsets, process-mode (Default=1 i.e. primary),
    #   custom-lib-path, network-mode(Default=0 i.e FP32)


奇葩参数:
1、overlay-id=1 设置了此参数才能展示画面,单使用showplay不显示

上一篇:docker save load 导入导出镜像


下一篇:MySQL - LOAD DATA LOCAL INFILE将数据导入数据表