Files Changed:
a. datamodel/pipeline_options.py - Included Options for PaddleOCR framework.
b. models/paddle_ocr_model.py - Added processing steps to compute and post process paddle_ocr results using the original docling flow.
c. pipeline/standard_pdf_pipeline.py - Added condition for PaddleOCROptions inside the get_ocr_model function to get the ocr model whenever requested using pipeline options.
Your pull request matches the following merge protections and will not be merged until they are valid.
🟢 Enforce conventional commit
Wonderful, this rule succeeded.
Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
- [X] `title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:`
Add a description of the changes:
Files Changed: a. datamodel/pipeline_options.py - Included Options for PaddleOCR framework. b. models/paddle_ocr_model.py - Added processing steps to compute and post process paddle_ocr results using the original docling flow. c. pipeline/standard_pdf_pipeline.py - Added condition for PaddleOCROptions inside the get_ocr_model function to get the ocr model whenever requested using pipeline options.
Checklist: