Snaps photo from webcam in given interval