formula_recognition.yaml 806 B

1234567891011121314151617181920212223242526272829303132333435
  1. pipeline_name: formula_recognition
  2. use_layout_detection: True
  3. use_doc_preprocessor: True
  4. SubModules:
  5. LayoutDetection:
  6. module_name: layout_detection
  7. model_name: RT-DETR-H_layout_17cls
  8. model_dir: null
  9. batch_size: 1
  10. FormulaRecognition:
  11. module_name: formula_recognition
  12. model_name: PP-FormulaNet-L
  13. model_dir: null
  14. batch_size: 5
  15. SubPipelines:
  16. DocPreprocessor:
  17. pipeline_name: doc_preprocessor
  18. use_doc_orientation_classify: True
  19. use_doc_unwarping: True
  20. SubModules:
  21. DocOrientationClassify:
  22. module_name: doc_text_orientation
  23. model_name: PP-LCNet_x1_0_doc_ori
  24. model_dir: null
  25. batch_size: 1
  26. DocUnwarping:
  27. module_name: image_unwarping
  28. model_name: UVDoc
  29. model_dir: null
  30. batch_size: 1