ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Functions

FineSetRecognizerThreadsCount Function

This function is used to limit the number of threads that can be started simultaneously for multi-threaded processing with ABBYY Mobile OCR Engine.

By default, all recognition operations are performed in parallel, using up to 4 threads. Call this function after the library is initialized if you need to change this limitation.

Note: For multi-threaded processing the Pthreads-win32 library is used. This library is included in the distribution as a separate dynamic link library (pthreadVC2.dll).

C Syntax
TFineErrorCode FineSetRecognizerThreadsCount( int threadsCount );

Parameters

threadsCount
[in] The maximum number of threads that can be run at once.

Return value

The function returns the standard return values of ABBYY Mobile OCR Engine functions.

See also

FineInitialize
How to Use the Native Library