UseOutOfProcessRecog
Causes recognition to be performed in a process that is separate from the process that is running the recognition actions.
Important: The intended use of this legacy action is limited to those action
libraries that do not support automatic retry. For all other libraries, the out-of-process engine is
automatically restarted. For information about automatic retry and the action libraries that support
it, see SetupAutomaticRetry.
Member of namespace
Recog_SharedSyntax
bool UseOutOfProcessRecog (strParam)
Parameters
True: Recognition actions should run in a separate process.False: Recognition should run in the same process as the recognition actions.
Returns
Always True.Level
All.Details
This action determines in which process recognition will be performed. Using a separate process for recognition provides an additional stability and automatic recovery ability as it will automatically retry a recognition action that runs into trouble, such as recognition that has stalled or unexpectedly terminated. The action must be placed before a full-page or field-level recognition action such as RecognizePageOCR_S.The action is also directly tied to the SetRecogFailureRetryDelay action, which determines how long (in seconds) the UseOutOfProcessRecog action waits to determine that recognition has stopped responding and must be retried.
If the UseOutOfProcessRecog action is not specifically called, its default True setting will be used. If the action is called specifically, the True or False setting will be in effect for the entire batch. This allows you to set the value once, and call as many recognition actions as necessary.
- Example
UseOutOfProcessRecog(True) SetRecogFailureRetryDelay(10) RecognizePageOCR_S()