Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Isight saveframe every 2 minutes problem

$
0
0
The formatting of  if()  statements aside, your code will save the frame only when the frameCount == 125 . If you want to keep saving the frame then modulo is handy:
  1. if(frameCount % 125 == 0)
  2. {
  3.    saveFrame(...);
  4. }
Then you'll get an image every 125 frames.

Viewing all articles
Browse latest Browse all 1768

Trending Articles