Check that the folders where images will be saved exists.
Change image type to .jpg, capture image since webcam every 30 seconds