System information (version)
- OpenCV => opencv.js 4.1.0-dev
- Operating System / Platform => Version 74.0.3729.157 (Official Build) unknown (64-bit)
- Compiler => opencv.js WASM build from master branch as described here.
Detailed description
Now the sample of face recognition with opencv.js just work for the asm.js version of, and doesn't work for the WASM version of opencv.js, saying cv.Mat is not a constructor in the console.log. Seems we need cv.onRuntimeInitialized=()=>{} for the loading of opencv.js WASM.
Steps to reproduce
Go to here
System information (version)
Detailed description
Now the sample of face recognition with opencv.js just work for the asm.js version of, and doesn't work for the WASM version of opencv.js, saying
cv.Mat is not a constructorin the console.log. Seems we needcv.onRuntimeInitialized=()=>{}for the loading of opencv.js WASM.Steps to reproduce
Go to here