Full-text recognition

The methods /fulltext and /fulltext_by_lines return all the text from any documents. They have many differences from the /recognize method: they do not search for specific fields, do not use dictionaries and masks and cannot send text for manual re-chec

king.

API specification

Below is the API specification for 2 full-text recognition methods . For more details on how to compose a query, see Connecting and testing.

fulltext

POST https://latest.handl.ai/fulltext

The tool requires access to the cloud version of Handl to work correctly. The text is returned word by word, each word is accompanied by a confidence level

Query Parameters

Name
Type
Description

proprity

integer

Task priority, takes "1" by default

async

boolean

true - request in asynchronous mode, see "Asynchronous mode" in the "Connecting and testing" section. false - request in the synchronous mode

doc2pdf

boolean

true - returns the PDF file with the recognition results embedded in the text layer. false - standard mode of working

Request Body

Name
Type
Description

image

string

File to be recognized

fulltext_by_lines

POST https://latest.handl.ai/fulltext_by_lines

The tool can work in a closed internal IT system. The text is returned line by line, each line is accompanied by a confidence level

Query Parameters

Name
Type
Description

priority

integer

Task priority, takes "1" by default

async

boolean

true - request in asynchronous mode, see "Asynchronous mode" in the "Connecting" section. false - request in the synchronous mode

language

boolean

true - returns in response the PDF file with the recognition results embedded in the text layer false - standard mode of working

Request Body

Name
Type
Description

image

string

File to be recognized

Last updated

Was this helpful?