Ask Your Question
0

BindingError:_emval_take_value has unknown type N10emscripten11memory_viewIhEE

asked 2019-05-17 10:51:25 -0600

B.C gravatar image

as the title says having a BindingError:_emval_take_value has unknown type N10emscripten11memory_viewIhEE happens during the code line execution:

        cap.read(src);

OpenCV.JS 4.1.0 build

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-05-21 08:13:04 -0600

B.C gravatar image

Turns out

utils.loadOpenCv(() => {

Doesn't load openCV.js correctly as i thought it did. To fix the issue i used:

cv['onRuntimeInitialized']=()=>{

now no longer running into any error catches :D

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-05-17 10:50:26 -0600

Seen: 903 times

Last updated: May 21 '19