Constructors

Properties

imageProcessParam: ImageProcessingRequest = ...
initData: null | License = null
isAutoPrepare: boolean = false
isInitialized: boolean = false
isPrepared: boolean = false
isProcessing: boolean = false
onFinalize: null | TOnFinalize = null
recognizeListener: null | RecognizeListener = null
recognizerProcessParam: ProcessingRequest = ...
version: { component: string } = ...
workerPath: string = DOC_WASM_S3_PATH

Accessors

  • get initializeListener(): null | TInitializeListener
  • Returns null | TInitializeListener

  • set initializeListener(listener: null | TInitializeListener): void
  • Parameters

    • listener: null | TInitializeListener

    Returns void

  • get prepareListener(): null | TPrepareListener
  • Returns null | TPrepareListener

  • set prepareListener(listener: null | TPrepareListener): void
  • Parameters

    • listener: null | TPrepareListener

    Returns void

  • get processingListener(): null | TProcessingListener
  • Returns null | TProcessingListener

  • set processingListener(listener: null | TProcessingListener): void
  • Parameters

    • listener: null | TProcessingListener

    Returns void

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    • Optionalmetadata: Record<string, any>

    Returns Promise<NewTransaction>

  • Parameters

    • OptionalinitData: { license: undefined | string }

    Returns Promise<License>

  • Parameters

    • OptionalinitData: { license: undefined | string }

    Returns Promise<License>

  • Returns Promise<void>

  • Returns void

  • Parameters

    • Optionalmetadata: Record<string, any>

    Returns Promise<NewTransaction>

  • Returns Promise<void>