Optical Character Recognition (OCR) is the process of text recognition, used to extract text from images, serving as an easier alternative to manual data entry.
Perform OCR
GET https://infer.roboflow.com/doctr/ocr
Query Parameters
| Name | Type | Description |
|---|---|---|
| api_key<mark style="color:red;">*</mark> | String | A Roboflow API Key |
Request Body
| Name | Type | Description |
|---|---|---|
| image<mark style="color:red;">*</mark> | Object | A JSON object containing image information and data |
| image.type<mark style="color:red;">*</mark> | String | One of the following: "url" or "base64" |
| image.value<mark style="color:red;">*</mark> | String | Either a URL or a base64 encoded image |
To learn about how to deploy an OCR solution locally on your device using Python, check out this blog post.
You can also deploy an OCR solution on your device using our open-source inference server. Learn more about deploying DocTR (OCR) locally here.