0.0.6 • Published 2 years ago

@hophiphip/opencv-js v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.0.4

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago