Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import yidashcam
- import time
- with yidashcam.YIDashcam() as yi:
- yi.set_config(yidashcam.config.Option.photo_resolution, yidashcam.config.PhotoResolution.r1920x1080)
- try:
- yi.stop_record()
- except:
- print("exception")
- for x in range(0, 15000):
- yi.take_photo()
- print("%d. photo done" % (x))
- time.sleep(2.4)
Add Comment
Please, Sign In to add comment