Business Card Recognition (Linux)

Language:
EN
Product-Line:
FineReader Engine
Version:
11
Platform:
Linux
Type:
Knowledge Base & Support
KB-Type:
Code Samples Collection
KB-Topic:
Recognition
Category:
Recognition
Image:
image: icon_bcr.gif

This sample demonstrates how ABBYY FineReader Engine can be used for business card recognition.

Description

The sample splits multiple business cards scanned on one page if necessary, recognizes each business card, and saves recognized data in VCard (.vcf) format. The sample uses the following procedure:

  1. Create the Engine object using the GetEngineObject function.
  2. Call the CreateFRDocumentFromImage method of the Engine object to open the image file and create the FRDocument object.
  3. Load the BusinessCardsProcessing profile using the LoadPredefinedProfile method of the Engine object.
  4. If your image may contain several business cards, create the DocumentProcessingParams object, access its PageProcessingParams property and set the DetectMultipleBusinessCards property of the PageAnalysisParams subobject to VARIANT_TRUE.
  5. Call the Process method of the FRDocument object.
  6. Get the collection of business cards through the BusinessCards property of the FRDocument object.
  7. Iterate the collection, saving each card into .vcf format using the ExportToVCard method of the BusinessCard object.
  8. Close the FRDocument object using the Close method.
  9. Unload FineReader Engine — use the DeinitializeEngine function.

Related Articles


Back To:

This website uses cookies which enable you to see pages or use other functions of our websites. You can turn off such cookies in your browser’s settings. If you continue to use these pages, you consent to the use of cookies.
  • No tags, yet