\n
OpenCV is built on top of Emscripten, which is a C++ to asm.js / WebAssembly toolchain. OpenCV is extremely dependant on performance, and when running on the web, this is even more apparent. OpenCV is a great use case for WebAssembly, as WebAssembly offers predictable performance over JavaScript, especially in use cases that require heavy processing. OpenCV switching to WebAssembly offered dramatic performance improvements, especially when used with upcoming Wasm features, like SIMD and threads. See the additional resources for more information.
\n