我正在使用opencv.js當(dāng)我調(diào)用Mat類的構(gòu)造函數(shù)時(shí),我收到錯(cuò)誤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)
無法使用 OpenCV 創(chuàng)建 Mat.js
牧羊人nacy
2022-08-18 10:41:11