{ "detector" : { "class_name" : "cnstream::Inferencer2", "parallelism" : 2, "max_input_queue_size" : 20, "custom_params" : { "model_path" : "../data/models/yolov5m_best6_b_b_insect_s4_int16_0910_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 } } }