4 ms·
I wonder why they didn't contribute directly to https://github.com/ucisysarch/opencvjs https://github.com/ucisysarch/opencvjs. It was suffering from a bit of co
by arnioxux 9y ago
I wonder why they didn't contribute directly to https://github.com/ucisysarch/opencvjs https://github.com/ucisysarch/opencvjs. It was suffering from a bit of code rot so a lot of the demos no longer work. But the ones that do are still pretty comprehensive in terms of opencv feature coverage (at least compared to the demo they built):
Canny w/ webcam: https://ucisysarch.github.io/opencvjs/examples/live/img_proc.html https://ucisysarch.github.io/opencvjs/examples/live/img_proc...
Colors, canny, blurs, contours, histogram, morphology: http://ucisysarch.github.io/opencvjs/examples/img_proc.html http://ucisysarch.github.io/opencvjs/examples/img_proc.html
Detect face/eyes:
http://ucisysarch.github.io/opencvjs/examples/face_detect.html http://ucisysarch.github.io/opencvjs/examples/face_detect.ht...
And much more from: https://github.com/ucisysarch/opencvjs/tree/gh-pages/examples https://github.com/ucisysarch/opencvjs/tree/gh-pages/example....
- sp332 9y agoIn 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.