public BusinessCardsImageProcessor
A class specifically designed to deal with images of business cards. It auto-rotates the images and extracts their texts. Designed to work in conjunction with MultipleObjectsDetector
@NotNull
java.util.List<io.scanbot.sdk.businesscard.BusinessCardsImageProcessor.BusinessCardProcessingResult> processPages(@NotNull
java.util.List<io.scanbot.sdk.persistence.Page> pages,
@NotNull
java.util.Set<? extends io.scanbot.sdk.entity.Language> ocrLanguages,
boolean performOCR,
boolean performAutoRotation)
Processes the pages contained in an image storage. Synchronously performs auto-rotation and text recognition OCR) and returns the OCR results as well as the modified image storage in the completion handler.
pages - The list of the business card Pages. Will be modified to auto-rotate contained images.ocrLanguages - The Set of available languages.performOCR - If set to true, performs text recognition on each Page. Default is true. Set to false if you do not wanttext recognition or if your license does not cover OCR.performAutoRotation - If set to true, performs automatic content based rotation of each Page. Default is true.Set to false if you do not want automatic rotation or if your license does not cover automatic rotation.class BusinessCardsImageProcessor.BusinessCardProcessingResults