0.0.6 • Published 3 years ago

@hophiphip/opencv-js v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

OpenCV JS

OpenCV for JavaScript compiled with Emscripten.

Installation

npm install @hophiphip/opencv-js

Example Usage

Import module and then wait for it to load.

// import module
import cv from '@hophiphip/opencv-js';

// await for wasm & script to load
await cv.ready;

// log build information
console.log(cv.getBuildInformation());

..or without top level await.

import cv from '@hophiphip/opencv-js';

cv.ready.then(cv => {
    console.log(cv.getBuildInformation());
});
0.0.5

3 years ago

0.0.4

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago