Forked from opencvjs.
- Get the source code
git clone https://github.com/biggzlar/opencv_js_compiler.git
cd opencv_js_compiler
git clone https://github.com/opencv/opencv
- Install emscripten. You can obtain emscripten by using Emscripten SDK.
./emsdk update
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
- Compile OpenCV and your source file.
python n_make.py example/example.cpp
- Skip the building of OpenCV once it has already been built or allow path specification?
- Allow for multiple input files.