Skip to content

Commit 10fa20f

Browse files
Add docstring for the script. Bring back .. assuming attendees will run the script from where it is.
1 parent f4ca607 commit 10fa20f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

stage0_starting_script/face_detect_skimage.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
1+
""" Script analyzing an image, detecting human faces inside it, and printing
2+
EXIF data about it.
3+
"""
24
import PIL.Image
35
from PIL.ExifTags import TAGS
46
from skimage import data
@@ -17,8 +19,8 @@
1719
if len(sys.argv) > 1:
1820
image_path = sys.argv[1]
1921
else:
20-
image_path = join("../sample_images", "IMG-0311_xmas_2020.JPG")
21-
# image_path = join("sample_images", "owls.jpg")
22+
image_path = join("..", "sample_images", "IMG-0311_xmas_2020.JPG")
23+
# image_path = join("..", "sample_images", "owls.jpg")
2224

2325
img = plt.imread(image_path)
2426

0 commit comments

Comments
 (0)