GetPagehOCR

Description Returns with the hOCR text of an entire page.
Method Type POST
URL api/ocr/hocr
Parameters
Name Type Description
base64 String Page in base64 string.
Page Int Page number in document.
lang (Optional) String

OCR language. Optional parameter.

English if not specified.

dOrientation (Optional) Bool Detect Oriantation flag. Optional parameter, true if not specified.
DocumentID Object

The specified document’s DocumentID.

The DocumentID can be any object, for example an absolute path of a file, or a database row ID. The specified Content-Engine will interpret the DocumentID and serve the document.

CE (Optional) String

The Specified Content-Engine.

Possible values:

0: Default Content-Engine (default)

1: FileEngine

2: DatabaseEngine

Response Type JSON (JsonResult)
Return values

{

ocr (String)

}

Programming notes

The API will automatically read the OCRDatabaseType value from the appsettings.json file, and decide if the OCR must be queried from the SQL, or an ODBC database.

Example

None

Requirements