We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ca607 commit 10fa20fCopy full SHA for 10fa20f
stage0_starting_script/face_detect_skimage.py
@@ -1,4 +1,6 @@
1
-
+""" Script analyzing an image, detecting human faces inside it, and printing
2
+EXIF data about it.
3
+"""
4
import PIL.Image
5
from PIL.ExifTags import TAGS
6
from skimage import data
@@ -17,8 +19,8 @@
17
19
if len(sys.argv) > 1:
18
20
image_path = sys.argv[1]
21
else:
- image_path = join("../sample_images", "IMG-0311_xmas_2020.JPG")
- # 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")
24
25
img = plt.imread(image_path)
26
0 commit comments