• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D05-Jul-2021540 1610

build_js.pyH A D05-Jul-202113 KiB341286

opencv_js.config.pyH A D05-Jul-20217.9 KiB10692

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