Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProcessOcrProtocol

OfficeIMO.Ocr.Process

Namespace
OfficeIMO.Ocr.Process
Assembly
OfficeIMO.Ocr.Process
Source revision
063fe3ee9839 with working tree changes
Modifiers
static

JSON helpers and schema constants for the external OCR process protocol.

Inheritance

  • object
  • ProcessOcrProtocol

Methods

public static OcrResult DeserializeResult(string json) #

Deserializes an engine result from the process response file.

Parameters

json string required

Returns

OcrResult
public static string SerializeRequest(ProcessOcrRequest request, bool indented = false) #

Serializes a process request using camel-case properties and string enum values.

Parameters

request OfficeIMO.Ocr.Process.ProcessOcrRequest required
indented bool = false optional

Returns

string
public static string SerializeResult(OcrResult result, bool indented = false) #

Serializes an engine result suitable for the process response file.

Parameters

result OfficeIMO.Ocr.OcrResult required
indented bool = false optional

Returns

string

Fields

public const string RequestSchemaId #

Request schema identifier.

Value: officeimo.ocr.process-request
public const string ResponseSchemaId #

Response schema identifier.

Value: officeimo.ocr.process-response
public const int Version #

Current protocol version.

Value: 2