the python program takes input from the webcam and saves an image frame in jpeg format every 30 seconds.