table_recognition.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. pipeline_name: table_recognition
  2. use_layout_detection: True
  3. use_doc_preprocessor: True
  4. use_ocr_model: True
  5. SubModules:
  6. LayoutDetection:
  7. module_name: layout_detection
  8. model_name: RT-DETR-H_layout_3cls
  9. model_dir: null
  10. batch_size: 1
  11. TableStructureRecognition:
  12. module_name: table_structure_recognition
  13. model_name: SLANet_plus
  14. model_dir: null
  15. batch_size: 1
  16. SubPipelines:
  17. DocPreprocessor:
  18. pipeline_name: doc_preprocessor
  19. use_doc_orientation_classify: True
  20. use_doc_unwarping: True
  21. SubModules:
  22. DocOrientationClassify:
  23. module_name: doc_text_orientation
  24. model_name: PP-LCNet_x1_0_doc_ori
  25. model_dir: null
  26. batch_size: 1
  27. DocUnwarping:
  28. module_name: image_unwarping
  29. model_name: UVDoc
  30. model_dir: null
  31. batch_size: 1
  32. GeneralOCR:
  33. pipeline_name: OCR
  34. text_type: general
  35. SubModules:
  36. TextDetection:
  37. module_name: text_detection
  38. model_name: PP-OCRv4_server_det
  39. model_dir: null
  40. batch_size: 1
  41. TextRecognition:
  42. module_name: text_recognition
  43. model_name: PP-OCRv4_server_rec
  44. model_dir: null
  45. batch_size: 1