Constructors

Properties

isInitialized: boolean = false
isProcessing: boolean = false
videoElement: null | HTMLVideoElement = null

Accessors

  • get recognizeListener(): null | RecognizeListener
  • Returns null | RecognizeListener

  • set recognizeListener(listener: null | RecognizeListener): void
  • Parameters

    • listener: null | RecognizeListener

    Returns void

  • get workerPath(): string
  • Returns string

  • set workerPath(url: string): void
  • Parameters

    • url: string

    Returns void

Methods

  • Parameters

    • Optionallicense: { license: undefined | string }

    Returns Promise<License>

  • Parameters

    • images: Blob[] | FileList

    Returns Promise<Response>

  • Returns void

  • Parameters

    • OptionalresponseListener: ResponseListener

    Returns Promise<null | Response>

  • Returns void

  • Returns Promise<void>