December 2018
Intermediate to advanced
280 pages
7h 23m
English
To compile OpenCV.js, we need to install Emscripten. Emscripten requires the following:
We can install these dependencies following the next instructions:
# Install Python sudo apt-get install python2.7 # Install node.js sudo apt-get install nodejs # Install CMake (optional, only needed for tests and building Binaryen) sudo apt-get install cmake # Install Java (optional, only needed for Closure Compiler minification) sudo apt-get install default-jre
Now, we have to download Emscripten from the GitHub repository:
# Get the emsdk repo git clone https://github.com/juj/emsdk.git # Enter that directory cd emsdk
Now, we only have to update and install the environment variables required ...
Read now
Unlock full access