Refactor OCR configuration to nest document preprocessor settings

- Moved `doc_preprocessor` settings under the `OCR` key in `ocr_config.yaml` for better organization.
- Added `recognizer` settings to specify the language for the OCR recognizer, enhancing the configuration structure.
This commit is contained in:
Yury Kossakovsky
2025-08-29 17:21:10 -06:00
parent 0b6dba04be
commit c515c6c7f9

View File

@@ -1,6 +1,8 @@
pipeline_name: OCR
OCR:
lang: ru
doc_preprocessor:
use_doc_orientation_classify: true
use_doc_unwarping: true
doc_preprocessor:
use_doc_orientation_classify: true
use_doc_unwarping: true
recognizer:
lang: ru