Skip to content

Commit f4ca607

Browse files
Suggestion from @siddhantwahal: use plt instead of imageio.
1 parent 638ddc8 commit f4ca607

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stage0_starting_script/face_detect_skimage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from skimage.feature import Cascade
66
import matplotlib.pyplot as plt
77
from matplotlib import patches
8-
import imageio
98
import sys
109
from os.path import join
1110

@@ -21,7 +20,7 @@
2120
image_path = join("../sample_images", "IMG-0311_xmas_2020.JPG")
2221
# image_path = join("sample_images", "owls.jpg")
2322

24-
img = imageio.imread(image_path)
23+
img = plt.imread(image_path)
2524

2625
detected = detector.detect_multi_scale(img=img,
2726
scale_factor=1.2,

0 commit comments

Comments
 (0)