UNPKG

capacitor-plugin-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK for Capacitor

28 lines (27 loc) 1.26 kB
import type { PerformOcrResult } from './types/base/OcrEngineResult'; import type { ImageInput, OcrConfiguration } from './types/base/customTypes'; /** * Entry point for all OCR engine features. */ export declare const ScanbotOcrEngine: { /** * Performs OCR on the provided images with the specified configuration. * @param {ImageInput[]} params.images - The list of images to be used for OCR processing. * @param {OcrConfiguration} params.configuration - The configuration for OCR processing. * @returns {Promise<PerformOcrResult>} - The result of the OCR processing. */ recognizeOnImages(params: { images: ImageInput[]; configuration?: OcrConfiguration; }): Promise<PerformOcrResult>; /** * Performs OCR on the provided document with the specified configuration. * @param {string} params.documentUuid - The Uuid of the document to be used for OCR processing. * @param {OcrConfiguration} params.configuration - The configuration for OCR processing. * @returns {Promise<PerformOcrResult>} - The result of the OCR processing. */ recognizeOnDocument(params: { documentUuid: string; configuration?: OcrConfiguration; }): Promise<PerformOcrResult>; };