hi,
i always got cv.matFromImageData undefined error in a wasm build around:
|
return cv.matFromImageData(imgData); |
as explained in this emscripten-core/emscripten#20801 (comment) issue, the internal Name "Module" should be used instead of the external name "cv".
i added a var cv = Module; at the beginning of the block and it fixed this, after the comment in the other issue just replacing cv. with Module. did also the trick!
would be great if that could be fixed!