johnmahugu

python fulla camera image

Jun 3rd, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import os, glob, Image
  4.  
  5. pic_list = []
  6.  
  7. pic_list = glob.glob('*.JPG')
  8. pic_list.sort()
  9.  
  10. print len(pic_list), 'images found...'
  11. for temp in pic_list:
  12.     print temp
  13.  
  14.  
  15. cmd = 'fulla -g 0.0216776:-0.0799067:0.0566601:1 '
  16. for temp in pic_list:
  17.     repair = cmd + temp
  18.     os.popen(repair).read()
Add Comment
Please, Sign In to add comment