3 ms·
In this demo, they're not writing code in JS. They're compiling C++ code to run in the browser's webasm runtime.
by sp332 9y ago
In this demo, they're not writing code in JS. They're compiling C++ code to run in the browser's webasm runtime.
- arnioxux 9y agoSame with ucisysarch's demos. All opencv.js does is add JS bindings to compiled C++ code. They could've made it output webasm just by adding a "-s WASM=1" to the g++/em++ flags.