opencv-wasm
Advanced tools
Comparing version 4.3.0-6 to 4.3.0-7
{ | ||
"name": "opencv-wasm", | ||
"version": "4.3.0-6", | ||
"version": "4.3.0-7", | ||
"description": "Precompiled OpenCV 4.3.0 to JavaScript + WebAssembly for node.js environment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,2 +10,4 @@ # OpenCV-Wasm | ||
This module has zero dependencies. | ||
## Examples | ||
@@ -25,3 +27,3 @@ | ||
Because this module is using (almost) the same code as the official OpenCV.js for the web, you can use the same documentation at the web: https://docs.opencv.org/4.3.0/d5/d10/tutorial_js_root.html | ||
Because this module is using the same code as the official OpenCV.js for the web, you can use the same documentation at the web: https://docs.opencv.org/4.3.0/d5/d10/tutorial_js_root.html | ||
@@ -68,2 +70,3 @@ There are some minor initialization changes, because this module will be loaded synchronously instead of the OpenCV's default (asynchronously). | ||
(cd ./utils && sh ./build.sh) | ||
(cd utils && node generateCvProps.js) | ||
``` | ||
@@ -73,5 +76,10 @@ | ||
After completing the build script, you can run the test | ||
After completing the build script, you can run the test provided by OpenCV, and the test from this repo. | ||
``` | ||
```sh | ||
# OpenCV's test | ||
(cd ./build_wasm_test/bin && npm install) | ||
(cd ./build_wasm_test/bin && node tests.js) | ||
# This repo's test | ||
npm test | ||
@@ -78,0 +86,0 @@ ``` |
// Generated types by generateCvProps.js, don't edit this file | ||
export var thisProgram: string; | ||
/** function */ | ||
export var quit: any; | ||
/** object */ | ||
export var preRun: any; | ||
/** object */ | ||
export var postRun: any; | ||
/** function */ | ||
export var read: any; | ||
/** function */ | ||
export var readBinary: any; | ||
/** function */ | ||
export var inspect: any; | ||
@@ -58,5 +42,2 @@ | ||
/** function */ | ||
export var requestFullScreen: any; | ||
/** function */ | ||
export var requestFullscreen: any; | ||
@@ -146,2 +127,5 @@ | ||
/** function */ | ||
export var ___embind_register_native_and_builtin_types: any; | ||
/** function */ | ||
export var ___errno_location: any; | ||
@@ -155,2 +139,5 @@ | ||
/** function */ | ||
export var _emscripten_get_sbrk_ptr: any; | ||
/** undefined */ | ||
@@ -178,11 +165,5 @@ export var _emscripten_replace_memory: any; | ||
/** function */ | ||
export var _pthread_cond_broadcast: any; | ||
/** function */ | ||
export var _rintf: any; | ||
/** function */ | ||
export var _sbrk: any; | ||
/** function */ | ||
export var establishStackSpace: any; | ||
@@ -969,2 +950,3 @@ | ||
export var removeRunDependency: any; | ||
export var calledRun: boolean; | ||
@@ -977,7 +959,2 @@ /** function */ | ||
/** function */ | ||
export var abort: any; | ||
export var noExitRuntime: boolean; | ||
export var calledRun: boolean; | ||
/** undefined */ | ||
@@ -984,0 +961,0 @@ export var stdin: any; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97
1
7423319
9571
4