Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "opencvReady"

Index

Variables

Let FS_

FS_: FS | undefined

Const FS_ROOT

FS_ROOT: "/work" = "/work"

Let opencvLoaded

opencvLoaded: boolean = false

Functions

getFS

  • getFS(): FS

loadFormatCodecs

loadOpencv

  • Loads opencv.js file. It will do it only once no matter if called multiple times. In the browser a new script element is created to load the file while in Node.js the file is loaded using a require() call.

    Returns a promise resolved when the library is ready or rejected if there's a problem.

    Notice that among the options users can define the location of opencv.js file, which in the case of the browser it could be in an external server.

    Parameters

    Returns Promise<void>

loadOpencvBrowser

loadOpencvNode

Generated using TypeDoc