import os
import time
def main():
i = 0
while i < 1000:
res = "raspistill -t 1 -o img/"+str(i)+".jpg"
# os.system(res)
print(res)
i += 1
time.sleep(1)
if __name__ == '__main__':
main()
Last modification:October 23, 2019
© Allow specification reprint