Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README.md | H A D | 05-Jul-2021 | 540 | 16 | 10 | |
build_js.py | H A D | 05-Jul-2021 | 13 KiB | 341 | 286 | |
opencv_js.config.py | H A D | 05-Jul-2021 | 7.9 KiB | 106 | 92 |
README.md
1Building OpenCV.js by Emscripten 2==================== 3 4[Download and install Emscripten](https://emscripten.org/docs/getting_started/downloads.html). 5 6Execute `build_js.py` script: 7``` 8emcmake python <opencv_src_dir>/platforms/js/build_js.py <build_dir> 9``` 10 11If everything is fine, a few minutes later you will get `<build_dir>/bin/opencv.js`. You can add this into your web pages. 12 13Find out more build options by `-h` switch. 14 15For detailed build tutorial, check out `<opencv_src_dir>/doc/js_tutorials/js_setup/js_setup/js_setup.markdown`. 16