Chinese Simplified (简体中文)

IImageSource Interface

This is the interface for a custom source of images. This interface and all its methods are implemented on the client-side. This interface is used by the Batch Processor (the BatchProcessor object).

This interface allows you to implement image processing queue in a custom way. Batch Processor requests the next image from this queue using the GetNextImageFile or GetNextImageDocument methods.

Important! All the ImageDocument objects in the queue must be valid till the end of processing. For correct operation the ImageDocument objects should be created via the Engine object. If they are created via the FRDocument object an error may occur because of the FRDocument object being destroyed during the call to the GetNextImageDocument method.

Methods

Name Description
GetNextImageDocument Returns the next image document from the image processing queue of the source.
GetNextImageFile Returns the next image file from the image processing queue of the source.
IsEmpty Checks if there are any image files in the image processing queue of the source.

Input parameter

The Start method of the BatchProcessor object receives a pointer to this interface as an input parameter.

Samples

C# code

The interface is used in the following code samples: BatchProcessing; and demo tools: BatchProcessingRecognition.

See also

BatchProcessor

9/17/2024 3:14:41 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.