Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import processing.video.*;
- Capture video;
- void setup(){
- size(640,480);
- video = new Capture(this,640,480,"Logitech HD Webcam C525");
- video.start();
- }
- void draw(){
- //video.read();
- image(video,0,0);
- }
- void captureEvent(Capture c){
- c.read();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement