@mjyc/opencv_wasm.js
v0.0.0
Published
OpenCV for JavaScript (mjyc's fork)
Downloads
4
Readme
OpenCV.js
This is a fork published to npm. See the original for support etc.
Modifications
To use solvePnP and projectPoints methods in calib3d module that was not exposed to OpenCV.js v3.4.5, I made the these modifications.
Then, I built a WASM version of opencv.js
by following the instructions (essentially, this command: python ./platforms/js/build_js.py build_wasm
--build_wasm
) and copied the output ./build_wasm/bin/opencv.js
file into ./platforms/js/opencv_wasm.js/
folder.
Finally, I copied other informative files from the original opencv.js npm pkg and updated README.md
file.
Thanks
I thank ganwenyao for demonstrating how to export a module in JavaScript and huningxin and ucisysarch for leaving handful of notes, e.g., here and here.