ENV: run_mode: paddle device: GPU min_subgraph_size: 3 trt_calib_mode: False cpu_threads: 1 trt_use_static: False save_img: true save_res: true return_res: true MODEL: - OcrDbDetOp: name: det param_path: paddlecv://models/ch_PP-OCRv3_det_infer/inference.pdiparams model_path: paddlecv://models/ch_PP-OCRv3_det_infer/inference.pdmodel batch_size: 1 PreProcess: - RGB2BGR: - DetResizeForTest: limit_side_len: 960 limit_type: "max" - NormalizeImage: std: [0.229, 0.224, 0.225] mean: [0.485, 0.456, 0.406] scale: '1./255.' order: 'hwc' - ToCHWImage: - ExpandDim: axis: 0 - KeepKeys: keep_keys: ['image', 'shape'] PostProcess: - DBPostProcess: thresh: 0.3 box_thresh: 0.6 max_candidates: 1000 unclip_ratio: 1.5 use_dilation: False score_mode: "fast" box_type: "quad" Inputs: - input.image - OCROutput: name: vis Inputs: - input.fn - input.image - det.dt_polys