docling-project / docling-project/docling
Feature Request: Support for Google OCR Integration in Docling
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
### Feature Request: Add Support for Google OCR
**Description**
We would like to propose adding a new OCR option, Google OCR, to Docling. This feature will enhance the tool's capabilities by allowing text extraction from dense image files and providing support for a broader range of languages, including those not currently supported by the existing OCR options.
**User Need**
This feature is aimed at addressing the following user needs:
- Accurate Text Extraction from Dense Images: Google OCR excels at extracting text from complex image layouts, such as scanned documents and images with a high density of text.
- Broader Language Support:Google OCR supports many languages, including those not currently handled by the existing OCR options in Docling. This will expand the tool's applicability to a more diverse set of users and use cases.
### Requested Feature
**Integration of Google OCR:**
- Leverage the Google Vision API for text extraction.
- Allow users to configure their Google credentials and OCR preferences through the existing options system.
- Add support for specifying languages using language_hints provided by the Google OCR API.
Contributor guide
Assessment
This issue has not been assessed yet.