Variable ScanbotOcrEngineConst

ScanbotOcrEngine: {
    recognizeOnDocument(params): Promise<PerformOcrResult>;
    recognizeOnImages(params): Promise<PerformOcrResult>;
}

Entry point for all OCR engine features.

Type declaration

  • recognizeOnDocument:function
    • Performs OCR on the provided document with the specified configuration.

      Parameters

      • params: {
            configuration?: OcrConfiguration;
            documentUuid: string;
        }
        • Optional configuration?: OcrConfiguration

          The configuration for OCR processing.

        • documentUuid: string

          The Uuid of the document to be used for OCR processing.

      Returns Promise<PerformOcrResult>

      • The result of the OCR processing.
  • recognizeOnImages:function
    • Performs OCR on the provided images with the specified configuration.

      Parameters

      Returns Promise<PerformOcrResult>

      • The result of the OCR processing.