ScanbotSDK: {
    Document: {
        addPage(params): Promise<DocumentData>;
        cloneDocument(params): Promise<DocumentData>;
        createDocument(params): Promise<DocumentData>;
        createDocumentFromLegacyPages(params): Promise<DocumentData>;
        createDocumentFromPDF(params): Promise<DocumentData>;
        createPDF(params): Promise<CreatePDFResult>;
        createTIFF(params): Promise<CreateTIFFResult>;
        deleteAllDocuments(): Promise<void>;
        deleteDocument(params): Promise<void>;
        documentExists(params): Promise<DocumentExistsResult>;
        loadDocument(params): Promise<DocumentData>;
        modifyPage(params): Promise<DocumentData>;
        movePage(params): Promise<DocumentData>;
        removeAllPages(params): Promise<DocumentData>;
        removePage(params): Promise<DocumentData>;
        storedDocumentIDs(): Promise<StoredDocumentIDsResult>;
    };
    applyImageFilters(params): Promise<ApplyImageFiltersResult>;
    applyImageFiltersOnPage(params): Promise<Page>;
    cleanup(): Promise<void>;
    closeCheckScanner(): Promise<void>;
    closeCroppingScreen(): Promise<void>;
    closeDocumentDataExtractor(): Promise<void>;
    closeDocumentScanner(): Promise<void>;
    closeEHICScanner(): Promise<void>;
    closeFinderDocumentScanner(): Promise<void>;
    closeMedicalCertificateScanner(): Promise<void>;
    closeVinScanner(): Promise<void>;
    createPDF(params): Promise<CreatePDFResult>;
    createPage(params): Promise<Page>;
    detectBarcodesOnImage(imageFileUri, configuration): Promise<BarcodeScannerResult>;
    detectDocument(params): Promise<DetectDocumentResult>;
    detectDocumentOnPage(params): Promise<Page>;
    documentDataExtractor(imageFileUri, configuration): Promise<DocumentDataExtractionResult>;
    documentQualityAnalyzer(imageFileUri, configuration): Promise<DocumentQualityAnalyzerResult>;
    extractImagesFromPdf(params): Promise<ExtractImagesFromPdfResult>;
    extractPagesFromPdf(params): Promise<ExtractPagesFromPdfResult>;
    getImageData(params): Promise<ImageDataResult>;
    getLicenseInfo(): Promise<LicenseInfoResult>;
    getOCRConfigs(): Promise<OCRConfigsResult>;
    initializeSDK(config): Promise<LicenseInfoResult>;
    performOCR(params): Promise<PerformOCRResult>;
    recognizeCheck(imageFileUri, configuration, acceptedCheckStandards?): Promise<CheckScanningResult>;
    recognizeCreditCard(imageFileUri, configuration): Promise<CreditCardScanningResult>;
    recognizeEHIC(imageFileUri, configuration): Promise<EuropeanHealthInsuranceCardRecognitionResult>;
    recognizeMedicalCertificate(imageFileUri, configuration): Promise<MedicalCertificateScanningResult>;
    recognizeMrz(imageFileUri, configuration): Promise<MrzScannerResult>;
    refreshImageUris(params): Promise<RefreshImageUrisResult>;
    removePage(params): Promise<void>;
    rotateImage(params): Promise<RotateImageResult>;
    rotatePage(params): Promise<Page>;
    setDocumentImage(params): Promise<Page>;
    startCheckScanner(configuration): Promise<ResultWrapper<CheckScanningResult>>;
    startCroppingScreen(params): Promise<ResultWrapper<CroppingResult>>;
    startDocumentDataExtractor(configuration): Promise<ResultWrapper<DocumentDataExtractionResult[]>>;
    startDocumentScanner(configuration): Promise<ResultWrapperWithMetadata<DocumentScannerResult, DocumentScannerMetadata>>;
    startEHICScanner(configuration): Promise<ResultWrapper<EuropeanHealthInsuranceCardRecognitionResult>>;
    startFinderDocumentScanner(configuration): Promise<ResultWrapper<DocumentScannerResult>>;
    startMedicalCertificateScanner(configuration): Promise<ResultWrapper<MedicalCertificateScanningResult>>;
    startVinScanner(configuration): Promise<ResultWrapper<VinScannerResult>>;
    writeTIFF(params): Promise<WriteTIFFResult>;
}

Type declaration

  • Document: {
        addPage(params): Promise<DocumentData>;
        cloneDocument(params): Promise<DocumentData>;
        createDocument(params): Promise<DocumentData>;
        createDocumentFromLegacyPages(params): Promise<DocumentData>;
        createDocumentFromPDF(params): Promise<DocumentData>;
        createPDF(params): Promise<CreatePDFResult>;
        createTIFF(params): Promise<CreateTIFFResult>;
        deleteAllDocuments(): Promise<void>;
        deleteDocument(params): Promise<void>;
        documentExists(params): Promise<DocumentExistsResult>;
        loadDocument(params): Promise<DocumentData>;
        modifyPage(params): Promise<DocumentData>;
        movePage(params): Promise<DocumentData>;
        removeAllPages(params): Promise<DocumentData>;
        removePage(params): Promise<DocumentData>;
        storedDocumentIDs(): Promise<StoredDocumentIDsResult>;
    }
    • addPage:function
    • cloneDocument:function
      • Clone a document by its ID.

        Parameters

        • params: {
              documentID: string;
          }
          • documentID: string

        Returns Promise<DocumentData>

    • createDocument:function
    • createDocumentFromLegacyPages:function
    • createDocumentFromPDF:function
      • Create a new document from PDF file.

        Parameters

        • params: {
              pdfUri: string;
          }
          • pdfUri: string

        Returns Promise<DocumentData>

    • createPDF:function
      • Creates a PDF for the given document. Please check the extra options that are part of the input params to modify the created PDF file per your needs.

        Parameters

        Returns Promise<CreatePDFResult>

    • createTIFF:function
      • Creates a TIFF for the given document. Please check the extra options that are part of the input params to modify the created TIFF file per your needs.

        Parameters

        Returns Promise<CreateTIFFResult>

    • deleteAllDocuments:function
      • Delete all documents.

        Returns Promise<void>

    • deleteDocument:function
      • Delete a document by its ID.

        Parameters

        • params: {
              documentID: string;
          }
          • documentID: string

        Returns Promise<void>

    • documentExists:function
      • Check if a document with the given ID exists.

        Parameters

        • params: {
              documentID: string;
          }
          • documentID: string

        Returns Promise<DocumentExistsResult>

    • loadDocument:function
      • Load a document by its ID.

        Parameters

        • params: {
              documentID: string;
          }
          • documentID: string

        Returns Promise<DocumentData>

    • modifyPage:function
    • movePage:function
    • removeAllPages:function
      • Remove all pages from a document in one batch operation.

        Parameters

        • params: {
              documentID: string;
          }
          • documentID: string

        Returns Promise<DocumentData>

    • removePage:function
    • storedDocumentIDs:function
  • applyImageFilters:function
  • applyImageFiltersOnPage:function
  • cleanup:function
    • Removes all files generated by this plugin.

      Returns Promise<void>

  • closeCheckScanner:function
    • Forces the Ready-To-Use UI Check Scanner screen to close while it is running.

      Returns Promise<void>

  • closeCroppingScreen:function
    • Forces the Ready-To-Use UI Cropping screen to close while it is running.

      Returns Promise<void>

      Deprecated

  • closeDocumentDataExtractor:function
    • Forces the Ready-To-Use UI Document Data Extractor screen to close while it is running.

      Returns Promise<void>

  • closeDocumentScanner:function
    • Forces the Ready-To-Use UI Document Scanner screen to close while it is running.

      Returns Promise<void>

      Deprecated

  • closeEHICScanner:function
    • Forces the Ready-To-Use UI European Health Insurance Card Scanner screen to close while it is running.

      Returns Promise<void>

      Deprecated

  • closeFinderDocumentScanner:function
    • Forces the Ready-To-Use UI Finder Document Scanner screen to close while it is running.

      Returns Promise<void>

      Deprecated

  • closeMedicalCertificateScanner:function
    • Forces the Ready-To-Use UI Medical Certificate Scanner screen to close while it is running.

      Returns Promise<void>

  • closeVinScanner:function
    • Forces the Ready-To-Use UI VIN Scanner screen to close while it is running.

      Returns Promise<void>

  • createPDF:function
    • Creates a PDF using the given list of image file URIs. Please check the extra options that are part of the input params to modify the created PDF file per your needs.

      Parameters

      Returns Promise<CreatePDFResult>

  • createPage:function
    • Creates a page with the image located at the given URI.

      Parameters

      • params: {
            imageUri: string;
        }
        • imageUri: string

      Returns Promise<Page>

  • detectBarcodesOnImage:function
  • detectDocument:function
    • Detects document on the given image and returns the result.

      Parameters

      • params: {
            imageFileUri: string;
        }
        • imageFileUri: string

      Returns Promise<DetectDocumentResult>

  • detectDocumentOnPage:function
    • Detects document on the given page and returns the result.

      Parameters

      • params: {
            page: Page;
        }

      Returns Promise<Page>

  • documentDataExtractor:function
  • documentQualityAnalyzer:function
  • extractImagesFromPdf:function
  • extractPagesFromPdf:function
    • Extracts images from a PDF represented by the file URL, creates pages from them and returns the created pages. The PDF file URL is part of the input params.

      Parameters

      • params: PdfExtractorArguments

      Returns Promise<ExtractPagesFromPdfResult>

  • getImageData:function
    • Returns the BASE64 Image Data for the given image.

      Parameters

      • params: {
            imageFileUri: string;
        }
        • imageFileUri: string

      Returns Promise<ImageDataResult>

  • getLicenseInfo:function
  • getOCRConfigs:function
  • initializeSDK:function
  • performOCR:function
    • Performs OCR on given images. Set preferred ocrConfiguration engine, or leave it undefined to use the default one which is OCRScanbotEngineConfiguration. If OCRTesseractConfiguration is used, the expected languages need to be set.

      Parameters

      Returns Promise<PerformOCRResult>

  • recognizeCheck:function
  • recognizeCreditCard:function
  • recognizeEHIC:function
  • recognizeMedicalCertificate:function
  • recognizeMrz:function
  • refreshImageUris:function
  • removePage:function
    • Removes the given page from the storage.

      Parameters

      • params: {
            page: Page;
        }

      Returns Promise<void>

  • rotateImage:function
    • Rotates the given image by the specified degrees.

      Parameters

      • params: {
            degrees: number;
            imageFileUri: string;
        }
        • degrees: number
        • imageFileUri: string

      Returns Promise<RotateImageResult>

  • rotatePage:function
    • Rotates the given page for the number of 90 degree counterclockwise rotations. Negative values will rotate clockwise.

      Parameters

      • params: {
            page: Page;
            times: number;
        }
        • page: Page
        • times: number

      Returns Promise<Page>

  • setDocumentImage:function
    • Applies the given image to the desired page.

      Parameters

      • params: {
            imageFileUri: string;
            page: Page;
        }
        • imageFileUri: string
        • page: Page

      Returns Promise<Page>

  • startCheckScanner:function
  • startCroppingScreen:function
  • startDocumentDataExtractor:function
  • startDocumentScanner:function
  • startEHICScanner:function
  • startFinderDocumentScanner:function
  • startMedicalCertificateScanner:function
  • startVinScanner:function
  • writeTIFF:function
    • Creates a TIFF using the given list of image file URIs. Please check the extra options that are part of the input params to modify the created TIFF file per your needs.

      Parameters

      Returns Promise<WriteTIFFResult>