processing 视频捕捉出错
processing吧
全部回复
仅看楼主
level 1
Buzhida037 楼主
各位大神!
我完全按照教材上的代码运行,但是总是出现这个报错是怎么回事?
代码:
import processing.video.*;
Capture myCapture;
void setup() {
size(320, 240);
myCapture=new Capture(this, width, height, 30);
myCapture.start();
}
void captureEvent(Capture myCapture) {
myCapture.read();
}
void draw() {
image(myCapture, 0, 0);
}
2020年04月09日 02点04分 1
level 1

2020年11月18日 03点11分 2
level 1
我也是这样的
2020年11月18日 03点11分 3
level 1
2020年11月18日 03点11分 4
1