IntermediateResultTypes
IntermediateResultTypes
defines the types of intermediate result(s) to be kept for further reference. It is a combined value of IntermediateResultType
Enumeration items. No intermediate result will be kept by default.
Setting Methods
IntermediateResultTypes
can be set through PublicRuntimeSettings
or JSON template.
As PublicRuntimeSettings
Member
IntermediateResultTypes
can be set dynamically during runtime as a member of PublicRuntimeSettings
struct.
Code Snippet in C++
//...other codes
PublicRuntimeSettings* pSettings = new PublicRuntimeSettings;
int errorCode = reader->GetRuntimeSettings(pSettings);
pSettings->intermediateResultTypes = IRT_BINARIZED_IMAGE;
reader->UpdateRuntimeSettings(pSettings);
delete pSettings;
//...other codes
See Also
PublicRuntimeSettings:
JavaScript | C | C++ | .NET | Python | Java | Java-Android | Objective-C & SwiftIntermediateResultType:
JavaScript | C | C++ | .NET | Python | Java | Java-Android | Objective-C & Swift
As JSON Parameter
IntermediateResultTypes
as a JSON parameter is a string Array defined as below.
Key Name | Key Value |
---|---|
IntermediateResultTypes | A string array while each array item is one of the IntermediateResultType Enumeration items. |
JSON Example
{
"IntermediateResultTypes": ["IRT_BINARIZED_IMAGE", "IRT_PREDETECTED_REGION"]
}