@techstark/opencv-js 4.8.0-release.3 → 4.8.0-release.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -11
- package/dist/opencv.js +5 -49
- package/dist/opencv.js.patch +8 -10
- package/package.json +7 -5
- package/dist/types/index.d.ts +0 -1
package/README.md
CHANGED
|
@@ -30,17 +30,8 @@ TypeScript is supported (thanks to `mirada`).
|
|
|
30
30
|
|
|
31
31
|
- `npm install @techstark/opencv-js`
|
|
32
32
|
- or `yarn add @techstark/opencv-js`
|
|
33
|
-
- `
|
|
34
|
-
- or
|
|
35
|
-
|
|
36
|
-
```js
|
|
37
|
-
async function getOpenCv() {
|
|
38
|
-
const cv = await import("@techstark/opencv-js");
|
|
39
|
-
// for development
|
|
40
|
-
window.cv = cv;
|
|
41
|
-
return cv;
|
|
42
|
-
}
|
|
43
|
-
```
|
|
33
|
+
- `import cv from "@techstark/opencv-js"`
|
|
34
|
+
- or `import * as cv from "@techstark/opencv-js"` for Angular
|
|
44
35
|
|
|
45
36
|
# Webpack Configuration (for browser usage)
|
|
46
37
|
|