This microservice standardizes the usage of Optical Character Recognition (OCR) engines
318
This microservice standardizes the usage of Optical Character Recognition (OCR) engines, providing a unified interface to access multiple OCR engines. It currently supports three main OCR engines:
Access the OpenAPI documentation:
You can access the OpenAPI Specification documentation through the following link: localhost:8000/docs
Acces throw REST API:
Params:
| Name | Description |
|---|---|
ocr_method | This attribute indicates which OCR method will be applied. For Paddle OCR, ocr_method = paddle. For Tesseract, ocr_method = tesseract. For EasyOCR, ocr_method = easy. |
languages | List of supported languages. Supported languages are fr (French) and en (English). Note: Paddle OCR accepts only one language. |
Example usage with curl:
curl -X 'POST' \
'http://localhost:8000/applyOcr/?ocr_method=tesseract&languages=en' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F '[email protected];type=image/png'
Content type
Image
Digest
sha256:b7ac31fc5…
Size
3.8 GB
Last updated
almost 2 years ago
docker pull hamzagbada18/ocr-microservice