opencv/platforms/js
Kun Liang c82417697a
Merge pull request #18068 from lionkunonly:gsoc_2020_simd
[GSoC] OpenCV.js: WASM SIMD optimization 2.0

* gsoc_2020_simd Add perf test for filter2d

* add perf test for kernel scharr and kernel gaussianBlur

* add perf test for blur, medianBlur, erode, dilate

* fix the errors for the opencv PR robot

fix the trailing whitespace.

* add perf tests for kernel remap, warpAffine, warpPersepective, pyrDown

* fix a bug in  modules/js/perf/perf_imgproc/perf_remap.js

* add function smoothBorder in helpfun.js and remove replicated function in perf test of warpAffine and warpPrespective

* fix the trailing white space issues

* add OpenCV.js loader

* Implement the Loader with help of WebAssembly Feature Detection, remove trailing whitespaces

* modify the explantion for loader in js_setup.markdown and fix bug in loader.js
2020-10-18 20:30:36 +00:00
..
build_js.py Merge pull request #18068 from lionkunonly:gsoc_2020_simd 2020-10-18 20:30:36 +00:00
opencv_js.config.py Merge pull request #15608 from SimpleVlad:3.4 2019-10-31 22:09:33 +03:00
README.md Merge pull request #9466 from huningxin:js 2017-09-25 16:52:07 +03:00

Building OpenCV.js by Emscripten

Download and install Emscripten.

Execute build_js.py script:

python <opencv_src_dir>/platforms/js/build_js.py <build_dir>

If everything is fine, a few minutes later you will get <build_dir>/bin/opencv.js. You can add this into your web pages.

Find out more build options by -h switch.

For detailed build tutorial, check out <opencv_src_dir>/doc/js_tutorials/js_setup/js_setup/js_setup.markdown.