Function createVideoScanner

  • Creates and returns a VideoScanner object.

    Initializes a VideoScanner with the specified HTMLVideoElement and configuration options, providing control methods for starting, stopping, and closing the video scanner, along with updating its options.

    Parameters

    • videoElement: HTMLVideoElement

      The HTMLVideoElement used for scanning.

    • videoScannerOptions: VideoScannerOptions

      Configuration options for the VideoScanner.

    Returns VideoScanner

    A VideoScanner object providing control methods for video scanning.

Generated using TypeDoc