doc_preprocessor.yaml 536 B

123456789101112131415161718
  1. pipeline_name: doc_preprocessor
  2. input: https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/img_rot180_demo.jpg
  3. #input: https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/doc_test.jpg
  4. use_doc_orientation_classify: True
  5. use_doc_unwarping: True
  6. SubModules:
  7. DocOrientationClassify:
  8. module_name: doc_text_orientation
  9. model_name: PP-LCNet_x1_0_doc_ori
  10. model_dir: null
  11. batch_size: 1
  12. DocUnwarping:
  13. module_name: image_unwarping
  14. model_name: UVDoc
  15. model_dir: null
  16. batch_size: 1