i have made script in python crops image. using anaconda , python 2.7 in windows
what want run script whole folder images, thinking of making bash file. followed these steps , bash on ubuntu on windows. installed again anaconda linux , libraries needed getting this error if have installed same package in windows.
any ideas? or maybe ways on windows script running on anaconda?
this may not you're looking asked assistance bash script. however, modify python script crop images in specified folder using glob function. can run on windows anaconda installed.
glob returns list of file names matching unix style flags , wildcards. sample of how might work scenario may be:
import glob files = glob.glob("c:/path/*") # path path images cropped # run script on images cropped f in files: # run python script
Comments
Post a Comment