Skip to content

Commit 0c5fb8f

Browse files
Update stage0_starting_script/face_detect.py
Co-authored-by: siddhantwahal <[email protected]>
1 parent 93c8c8e commit 0c5fb8f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

stage0_starting_script/face_detect.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313

1414
# Select image file -----------------------------------------------------------
1515

16-
image_path = join("..", "sample_images", "IMG-0311_xmas_2020.JPG")
17-
image_path2 = join("..", "sample_images", "owls.jpg")
16+
image_paths = [
17+
join("..", "sample_images", "IMG-0311_xmas_2020.JPG"),
18+
join("..", "sample_images", "owls.jpg")
19+
]
1820

19-
for path in [image_path, image_path2]:
21+
for path in image_paths:
2022
img = PIL.Image.open(path)
2123

2224
img_metadata = {TAGS[k]: v for k, v in img._getexif().items() if k in TAGS}

0 commit comments

Comments
 (0)