Chinese Simplified (简体中文)

SynthesizeBusinessCardEx Method of the FRPage Object

This method tries to find business card fields in the specified recognized region using the synthesis parameters. The method returns BusinessCard object.

Important! The region you specify must contain recognized blocks. Therefore, one of the analysis and recognition methods must be called before this method call.

Syntax

HRESULT SynthesizeBusinessCardEx(
  IRegion*                      Region,
  IBusinessCardSynthesisParams* Params,
  IBusinessCard**               Result
);
    

Parameters

Region
[in] Refers to the Region object that specifies the area on image which should be interpreted as a business card. It should be set in coordinates of the deskewed black-and-white plane of the ImageDocument. This parameter may be 0, in which case the whole image is processed.
Params
[in] The BusinessCardSynthesisParams object that stores parameters of business card synthesis. This parameter may be 0. In this case, the business card is synthesized with default parameters, or, if a profile has been loaded, the parameters set by this profile are used.
Important! This parameter must be specified when creating a recognition language in any way except the SetPredefinedTextLanguage method of the RecognizerParams object.
Result
[out, retval] A pointer to IBusinessCard* pointer variable that receives the interface pointer of the BusinessCard output object. This object provides access to the synthesized business card. Result* may be NULL after the call to this method, if no business card is synthesized.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

FRPage

Business Card Recognition

Working with Profiles

03.07.2024 8:50:10

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.