table_recognition_v2.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. pipeline_name: table_recognition_v2
  2. use_doc_preprocessor: True
  3. use_layout_detection: True
  4. use_ocr_model: True
  5. SubModules:
  6. LayoutDetection:
  7. module_name: layout_detection
  8. model_name: PP-DocLayout-L
  9. model_dir: null
  10. TableClassification:
  11. module_name: table_classification
  12. model_name: PP-LCNet_x1_0_table_cls
  13. model_dir: null
  14. WiredTableStructureRecognition:
  15. module_name: table_structure_recognition
  16. model_name: SLANeXt_wired
  17. model_dir: null
  18. WirelessTableStructureRecognition:
  19. module_name: table_structure_recognition
  20. model_name: SLANeXt_wireless
  21. model_dir: null
  22. WiredTableCellsDetection:
  23. module_name: table_cells_detection
  24. model_name: RT-DETR-L_wired_table_cell_det
  25. model_dir: null
  26. WirelessTableCellsDetection:
  27. module_name: table_cells_detection
  28. model_name: RT-DETR-L_wireless_table_cell_det
  29. model_dir: null
  30. SubPipelines:
  31. DocPreprocessor:
  32. pipeline_name: doc_preprocessor
  33. use_doc_orientation_classify: True
  34. use_doc_unwarping: True
  35. SubModules:
  36. DocOrientationClassify:
  37. module_name: doc_text_orientation
  38. model_name: PP-LCNet_x1_0_doc_ori
  39. model_dir: null
  40. DocUnwarping:
  41. module_name: image_unwarping
  42. model_name: UVDoc
  43. model_dir: null
  44. GeneralOCR:
  45. pipeline_name: OCR
  46. text_type: general
  47. use_doc_preprocessor: False
  48. use_textline_orientation: False
  49. SubModules:
  50. TextDetection:
  51. module_name: text_detection
  52. model_name: PP-OCRv4_server_det
  53. model_dir: null
  54. limit_side_len: 960
  55. limit_type: max
  56. thresh: 0.3
  57. box_thresh: 0.6
  58. unclip_ratio: 2.0
  59. TextRecognition:
  60. module_name: text_recognition
  61. model_name: PP-OCRv4_server_rec_doc
  62. model_dir: null
  63. batch_size: 1
  64. score_thresh: 0