Skip to content

Commit

Permalink
Release 24.6
Browse files Browse the repository at this point in the history
  • Loading branch information
vl-albedo committed Jun 10, 2024
1 parent 1e3bcdd commit 7f01145
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ocr/developer-reference/settings/result-format/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
weight: 30
date: "2023-11-27"
date: "2024-06-10"
author: "Vladimir Lapin"
type: docs
url: /result-format/
Expand All @@ -24,11 +24,19 @@ Format | REST API setting | Applies to
Plain text | `"resultType": "Text"`<br />`"resultTypeTable": "Text"`<br />`"resultType": "TextAndPdf"`<br />`"resultType": "TextAndHocr"`<br />`"resultType": "TextAndPdfAndHocr"` | [Image recognition](/ocr/recognize-image/)<br />[PDF recognition](/ocr/recognize-pdf/)<br />[Receipt recognition](/ocr/recognize-receipt/)<br />[Table recognition](/ocr/recognize-table/)<br />[Regions recognition](/ocr/recognize-regions/)
PDF | `"resultType": "Pdf"`<br />`"resultType": "TextAndPdf"`<br />`"resultType": "PdfAndHocr"`<br />`"resultType": "TextAndPdfAndHocr"` | [Image recognition](/ocr/recognize-image/)<br />[PDF recognition](/ocr/recognize-pdf/)<br />[Receipt recognition](/ocr/recognize-receipt/)<br />[Regions recognition](/ocr/recognize-regions/)
hOCR | `"resultType": "Hocr"`<br />`"resultType": "TextAndHocr"`<br />`"resultType": "PdfAndHocr"`<br />`"resultType": "TextAndPdfAndHocr"` | [Image recognition](/ocr/recognize-image/)<br />[PDF recognition](/ocr/recognize-pdf/)<br />[Receipt recognition](/ocr/recognize-receipt/)<br />[Regions recognition](/ocr/recognize-regions/)
JSON | `"resultType": "JSON"` | [Image recognition](/ocr/recognize-image/)<br />[PDF recognition](/ocr/recognize-pdf/)<br />[Receipt recognition](/ocr/recognize-receipt/)<br />[Table recognition](/ocr/recognize-table/)
Excel | `"resultType": "Excel"`<br />`"resultTypeTable": "CsvAndExcel"` | [Table recognition](/ocr/recognize-table/)
CSV | `"resultType": "Csv"`<br />`"resultTypeTable": "CsvAndExcel"` | [Table recognition](/ocr/recognize-table/)
WAV | `"resultType": "Wav"` | [Text to speech conversion](/ocr/text-to-speech/)
PNG | `"resultType": "ImagePNG"` | [Image preprocessing](/ocr/preprocess-image/)

## Returning recognition result as JSON

When the recognition result is returned as JSON, the resulting file will contain the array of all content block found in the image and the recognized text found in the block:

- The coordinates of the top left and bottom right corners of the content block.
- The recognized text (plain text string).

## Important considerations

- You can get more than one result type from a single request. Use combined formats, such as `TextAndPdf`, `TextAndHocr`, `PdfAndHocr`, or `TextAndPdfAndHocr`.
Expand Down

0 comments on commit 7f01145

Please sign in to comment.