diff --git a/paddlex/ocr_config.yaml b/paddlex/ocr_config.yaml index 1725f14..e922ef3 100644 --- a/paddlex/ocr_config.yaml +++ b/paddlex/ocr_config.yaml @@ -14,3 +14,18 @@ SubModules: model_dir: null batch_size: 1 score_thresh: 0 + +SubPipelines: + DocPreprocessor: + pipeline_name: doc_preprocessor + use_doc_orientation_classify: true + use_doc_unwarping: true + SubModules: + DocOrientationClassify: + module_name: doc_text_orientation + model_name: PP-LCNet_x1_0_doc_ori + model_dir: null + DocUnwarping: + module_name: image_unwarping + model_name: UVDoc + model_dir: null