I just built the whole opencv.js according to this page:
When I run the battery of tests using the following commands:
npx http-server build_js/bin
most of the tests succeeds, except the ones that use cv._malloc function and cv.Mat constructor, such as following ones:
Died on test #13 test_mat.js:78:7
: cv._malloc is not a function@ 1 ms
Died on test #1 test_mat.js:595:7
: cv.Mat is not a constructor@ 1 ms
and several similar ones.
I would greatly appreciate your help.