ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Functions

FineGetTextLines Function

This function detects text lines on the image.

C Syntax
TFineErrorCode FineGetTextLines( 
  const CFineImage*             image, 
  TFineImageProcessingOptions   imageProcessingOptions,
  CFineRects**                  linesBuff,  
  TFineProgressCallbackFunction progressCallback,
);

Parameters

image
[in] The image to be recognized as a CFineImage variable.
imageProcessingOptions
[in] OR combination of the TFineImageProcessingOptionsFlags constants which define the image processing parameters.
linesBuff
[out] A pointer to pointer variable that receives the interface pointer of a CFineRects variable which describes an array of rectangles. This pointer must be released afterwards with the help of the FineFreeMemory function.
progressCallback
[in] The TFineProgressCallbackFunction callback function that delivers the progress information. It can be 0.

Return value

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