I want to display a webcam feed with a 5 seconds lag, so anything captured by the camera would take 5 seconds to be displayed on the screen.
How do I “record” the camera feed data in a kind of buffer, so I can play it only after a defined interval?
Any ideas in how to do this in a efficient way?
Cool plong0, tracerPix gave me the light i needed
I ended up using a ofPointRecorder code Zach shared in one of his workshops, and tranformed it into a ofImageRecorder… Works pretty well.
[attachment=0:35d4ixpk]ofImageRecorderGrid.jpg[/attachment:35d4ixpk]
[attachment=1:35d4ixpk]ofImageRecorderGrid.zip[/attachment:35d4ixpk]