Unverified Commit 1557290d authored by tilman's avatar tilman
Browse files

add path reader

parent 7b201427
......@@ -20,15 +20,10 @@ opWrapper = op.WrapperPython()
opWrapper.configure(params)
opWrapper.start()
# images from first email
#images = ["28165_gw.jpg", "38172_gw.jpg", "92981_gw.jpg", "page_5_item_17_annunci1.jpg", "page_19_item_5_08religi.jpg"]
#images_path = "images/first_email/"
# images from imdahl
images = ["658px-Giotto_di_Bondone_-_No._3_Scenes_from_the_Life_of_Joachim_-_3._Annunciation_to_St_Anne_-_WGA09171.jpg","Ankunft_bei_den_Hirten.jpg","Beweinung.jpg","Darbringung_im_Tempel.jpg","Franziskus-Giotto1.jpg","Franziskus_Lossagung_vom_Vater.jpg","Fusswaschung.jpg","Giotto+-+Ambrogio+Bondone+-+Scrovegni+-+[10]+-+Prayer+of+the+Suitors+.jpeg","Giotto-Di-Bondone-Flight-into-Egypt-2-.jpeg","Giotto_-_Scrovegni_-_-06-_-_Meeting_at_the_Golden_Gate.jpg","Giotto_di_Bondone_-_Joachims_Dream_-_Capella_degli_Scrovegni.jpg","Giotto_di_Bondone_-_No._11_Scenes_from_the_Life_of_the_Virgin_-_5._Marriage_of_the_Virgin_-_WGA09183.jpg","Giotto_di_Bondone_-_No._4_Scenes_from_the_Life_of_Joachim_-_4._Joachim's_Sacrificial_Offering_-_WGA09173.jpg","Giotto_di_Bondone_-_No._9_Scenes_from_the_Life_of_the_Virgin_-_3._The_Bringing_of_the_Rods_to_the_Temple_-_WGA09181.jpg","HochzeitzuKanan.jpg","Judas_und_Christus.jpg","Kindermord.jpg","Verstoßung_Joachims_aus_Tempel.jpg","flucht-nach-aegypten.jpg"]
images_path = "images/images_imdahl/"
#images_path = "images/first_email/" # images from first email
images_path = "images/images_imdahl/" # images from imdahl
images = os.listdir(images_path)
for img_name in images:
# Process Image
print("calculating: "+img_name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment