dsp: active: dev kafka: topic: dsp-alg-online-tasks-topic: dsp-alg-online-tasks dsp-alg-offline-tasks-topic: dsp-alg-offline-tasks dsp-alg-image-tasks-topic: dsp-alg-image-tasks dsp-alg-results-topic: dsp-alg-task-results dsp-recording-task-topic: dsp-recording-task dsp-recording-result-topic: dsp-recording-result local: bootstrap_servers: ['192.168.10.11:9092'] # dsp-alg-online-tasks: # partition: [0] # dsp-alg-offline-tasks: # partition: [0] # dsp-alg-task-results: # partition: [0] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-local auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 dev: bootstrap_servers: ['192.168.11.13:9092'] # dsp-alg-online-tasks: # partition: [0] # dsp-alg-offline-tasks: # partition: [0] # dsp-alg-task-results: # partition: [0] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-dev auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 test: bootstrap_servers: ['106.14.96.218:19092'] # dsp-alg-online-tasks: # partition: [0] # dsp-alg-offline-tasks: # partition: [0] # dsp-alg-task-results: # partition: [0] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-test auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 prod: bootstrap_servers: ['101.132.127.1:19094'] # dsp-alg-online-tasks: # partition: [1] # dsp-alg-offline-tasks: # partition: [1] # dsp-alg-task-results: # partition: [1] producer: acks: -1 retries: 3 linger_ms: 50 retry_backoff_ms: 1000 max_in_flight_requests_per_connection: 5 consumer: client_id: dsp_ai_server group_id: dsp-ai-prod auto_offset_reset: latest enable_auto_commit: False max_poll_records: 1 gpu: # 'first'- 按升序排列可用的 GPU 设备 ID(默认) # 'last'- 按 id 降序排列可用的 GPU 设备 id # 'random'- 随机订购可用的 GPU 设备 ID # 'load'- 按负载递增排序可用的 GPU 设备 ID # 'memory'- 通过升序内存使用来排序可用的 GPU 设备 ID order: 'first' # 获取可用gpu数量 limit: 10 # 最大负载 maxLoad: 0.85 # 最大内存 maxMemory: 0.85 includeNan: False excludeID: [] excludeUUID: [] video: # 视频拉取失败,保存路径 file_path: ../dsp/video/ # 视频加水印开关 video_add_water: True aliyun: access_key: LTAI5tSJ62TLMUb4SZuf285A access_secret: MWYynm30filZ7x0HqSHlU3pdLVNeI7 oss: endpoint: http://oss-cn-shanghai.aliyuncs.com bucket: 'ta-tech-image' connect_timeout: 30 vod: host_address: https://vod.play.t-aaron.com/ ecsRegionId: "cn-shanghai" dev: CateId: 1000468341 test: CateId: 1000468338 prod: CateId: 1000468340 service: frame_score: 0.4 # 获取最低得分以上的图片 filter: # 识别相似度是否开启 picture_similarity: True # 相似度阀值 similarity: 0.65 frame_step: 160 timeout: 21600 # 一次识别任务超时时间,单位秒,默认6个小时 cv2_pull_stream_timeout: 1000 # 直播开始视频未推流超时时间 cv2_read_stream_timeout: 1000 # 直播读流中超时时间 recording_pull_stream_timeout: 600 # 录屏拉流超时时间 baidu: orc: APP_ID: 28173504 API_KEY: kqrFE7VuygIaFer7z6cRxzoi SECRET_KEY: yp7xBokyl4TItyGhay7skAN1cMwfvEXf # 车辆检测 vehicle: APP_ID: 31096670 API_KEY: Dam3O4tgPRN3qh4OYE82dbg7 SECRET_KEY: 1PGZ9LAXRR5zcT5MN9rHcW8kLBIS5DAa # 人 person: APP_ID: 31096755 API_KEY: CiWrt4iyxOly36n3kR7utiAG SECRET_KEY: K7y6V3XTGdyXvgtCNCwTGUEooxxDuX9v # 模型相关配置 model: limit: 3 # 模型组合个数限制 # 日志设置 log: # 是否开启文件输出 True:开启 False:关闭 enable_file_log: True # 是否开启控制台日志输出 True:开启 False:关闭 enable_stderr: True # 日志打印文件夹 base_path: ../dsp/logs/ # 日志文件名称 log_name: dsp.log # 日志打印格式 log_fmt: "{time:YYYY-MM-DD HH:mm:ss.SSS} [{level}][{process.name}-{process.id}-{thread.name}-{thread.id}][{line}] {module}-{function} - {message}" # 日志隔离级别 level: INFO # 日志每天0点创建新文件 rotation: 00:00 # 日志保存时间15天 retention: 15 days # 线程安全 enqueue: True # 编码格式 encoding: utf8 #mysql: # # 数据库信息 # dev: # host: 192.168.11.13 # port: 3306 # dbname: tuheng_dsp # username: root # password: idontcare # test: # host: 192.168.11.242 # port: 3306 # dbname: tuheng_dsp # username: root # password: idontcare # prod: # host: 172.16.1.22 # port: 3306 # dbname: tuheng_dsp # username: root # password: TH22#2022 # db_charset: utf8 # # mincached : 启动时开启的闲置连接数量(缺省值 0 开始时不创建连接) # db_min_cached: 0 # # maxcached : 连接池中允许的闲置的最多连接数量(缺省值 0 代表不闲置连接池大小) # db_max_cached: 10 # # maxshared : 共享连接数允许的最大数量(缺省值 0 代表所有连接都是专用的)如果达到了最大数量,被请求为共享的连接将会被共享使用 # db_max_shared: 10 # # maxconnecyions : 创建连接池的最大数量(缺省值 0 代表不限制) # db_max_connecyions: 20 # # maxusage : 单个连接的最大允许复用次数(缺省值 0 或 False 代表不限制的复用).当达到最大数时,连接会自动重新连接(关闭和重新打开) # db_blocking: True # # maxusage : 单个连接的最大允许复用次数(缺省值 0 或 False 代表不限制的复用).当达到最大数时,连接会自动重新连接(关闭和重新打开) # db_max_usage: 0 # # setsession : 一个可选的SQL命令列表用于准备每个会话,如["set datestyle to german", ...] # db_set_session: None