import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QQVGA) sensor.skip_frames(time = 2000) clock = time.clock() img = sensor.snapshot() while(True): clock.tick() img.save("test.jpeg") print(clock.fps())