Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tilman Marquart
Art Structures - LME Praktikum
Commits
1557290d
Unverified
Commit
1557290d
authored
Nov 25, 2019
by
tilman
Browse files
add path reader
parent
7b201427
Changes
1
Hide whitespace changes
Inline
Side-by-side
detect_structures.py
View file @
1557290d
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment