我正在使用opencv.js当我调用Mat类的构造函数时,我收到错误
new cv.Mat(100, 100)
opencv.js:30 Uncaught (in promise) TypeError: Cannot use 'in' operator to search for 'width' in 100 at Object.toWireType (opencv.js:30) at Mat.constructor_body (opencv.js:30) at Mat.<anonymous> (opencv.js:30) at new Mat (eval at createNamedFunction (opencv.js:30), <anonymous>:4:34) at Object.window.cv.onRuntimeInitialized (SplashView.vue?f176:10) at doRun (opencv.js:30) at run (opencv.js:30) at runCaller (opencv.js:30) at removeRunDependency (opencv.js:30) at receiveInstance (opencv.js:30)
智慧大石
相关分类