Class
ProcessOcrProtocol
OfficeIMO.Ocr.Process
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
Returns
OcrResultpublic 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
- indented bool = false
Returns
stringpublic static string SerializeResult(OcrResult result, bool indented = false) #Serializes an engine result suitable for the process response file.
Parameters
- result OfficeIMO.Ocr.OcrResult
- indented bool = false
Returns
string