为什么节点js会出现此错误,我该如何解决?

时间:2020-09-14 07:29:17

标签: node.js

const wCap = new cv.VideoCapture(0); 
var fourcc = cv.VideoWriter.fourcc("MJPG");
var path = 'output.avi';

// Define the codec and create VideoWriter object.The output is stored in 'outpy.avi' file.
const out = new cv.VideoWriter(path, fourcc, 20.0, (640,480), 1);

该程序的输出为

VideoWriter::New - Error: expected argument 3 to be of type Size

0 个答案:

没有答案