ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Functions

FineAnalyzeTextAsBusinessCard Function

This function finds business card fields in text lines returned from the FineRecognizeImage function.

C Syntax
TFineErrorCode FineAnalyzeTextAsBusinessCard( 
  const TFineKeywordsPtr        keywords[],
  const CFineLayout*            layoutBuff,
  CFineBusinessCard**           businessCardBuffer,
  TFineProgressCallbackFunction progressCallback
);

Parameters

keywords[]
[in] The zero-terminated list of keywords dictionaries as a TFineKeywordsPtr variable. For the best result of business card recognition, add the English language keywords dictionary to the list, regardless of the language of the business card.
layoutBuff
[in] A reference to a CFineLayout variable which is output variable of the FineRecognizeImage function.
businessCardBuffer
[out] A pointer to pointer variable that receives the interface pointer of a CFineBusinessCard variable which represents a business card. 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.