seal_recognition.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. pipeline_name: seal_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_3cls
  8. model_dir: null
  9. batch_size: 1
  10. SubPipelines:
  11. DocPreprocessor:
  12. pipeline_name: doc_preprocessor
  13. use_doc_orientation_classify: True
  14. use_doc_unwarping: True
  15. SubModules:
  16. DocOrientationClassify:
  17. module_name: doc_text_orientation
  18. model_name: PP-LCNet_x1_0_doc_ori
  19. model_dir: null
  20. batch_size: 1
  21. DocUnwarping:
  22. module_name: image_unwarping
  23. model_name: UVDoc
  24. model_dir: null
  25. batch_size: 1
  26. SealOCR:
  27. pipeline_name: OCR
  28. text_type: seal
  29. SubModules:
  30. TextDetection:
  31. module_name: seal_text_detection
  32. model_name: PP-OCRv4_server_seal_det
  33. model_dir: null
  34. batch_size: 1
  35. TextRecognition:
  36. module_name: text_recognition
  37. model_name: PP-OCRv4_server_rec
  38. model_dir: null
  39. batch_size: 1