I want to take from a webcam several frames and average them.
Getting the actual frame was quite easy.
But now I'm trying averaging and this does not work.
My idea was to take e.g. 20 frames from the webcam and average each pixel value.
Is there any easier way for averaging frames?
I tried to create an array for the 20 frames (actually the amount of frames for averaging should be variable), but it didn't work with zero valued frames (tried to put zero valued frames into every of the 20 frames in the array).
Hope you can give me some ideas how I can go on. ;)
Hello!
I would like to use the keys F1 to F12 in Processing.
I searched for some help, but what I found didn't work.
It would be nice, if you can give me the codes or the Ascii to use the keys.