123456789101112131415161718192021222324 |
- {
- "detector" : {
- "class_name" : "cnstream::Inferencer2",
- "parallelism" : 2,
- "max_input_queue_size" : 20,
- "custom_params" : {
- "model_path" : "../data/models/yolov5_4c4b_rgb_220.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" : 100,
- "threshold" : 0.5,
- "infer_interval": 6,
- "engine_num" : 2,
- "device_id" : 0
- }
- }
- }
-
|