POST api/ProcessFile?ocrLib={ocrLib}

POST: Used to upload file and receive text results in return data Query String parameter ocrLib is either 'std' (default) or 'pro' (?ocrLib={std|pro})

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ocrLib

string

Default value is std

Body Parameters

None.

Response Information

Resource Description

Resturn the text results of the OCR operation.

ProcessFileTextResult
NameDescriptionTypeAdditional information
_text

The text value after OCR is complete

string

None.

Response Formats

application/json, text/json

Sample:
{
  "_text": "sample string 1"
}

application/xml, text/xml

Sample:
<ProcessFileTextResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OCRService.Controllers">
  <_text>sample string 1</_text>
</ProcessFileTextResult>