1234567891011121314151617181920212223 |
- {
- "detector" : {
- "class_name" : "cnstream::Inferencer2",
- "parallelism" : 2,
- "max_input_queue_size" : 20,
- "custom_params" : {
- "model_path" : "../data/models/yolov5sm_best8_flock_s7_36_int16_20231225_4b_4c.cambricon",
- "func_name" : "subnet0",
- // Uncomment the following 2 lines to use cncv
- // "preproc_name" : "CNCV",
- // "normalize" : true,
- "preproc_name" : "VideoPreprocYolov5",
- "postproc_name" : "VideoPostprocYolov5",
- "keep_aspect_ratio" : "true",
- "model_input_pixel_format" : "RGB24",
- "batching_timeout" : 50,
- "threshold" : 0.5,
- "infer_interval": 6,
- "engine_num" : 2,
- "device_id" : 0
- }
- }
- }
|