diff --git a/main.py b/main.py index 57b79bd..663387a 100644 --- a/main.py +++ b/main.py @@ -64,7 +64,7 @@ if cam.isOpened(): cv2.rectangle(img,(30,400),(610,450),(255,255,255), 5) cv2.rectangle(img,(30,400),(30+math.floor(int(fearPoint)*580/100),450),(255,255,255), -1) - if fearPoint>10: + if fearPoint>10: cv2.imwrite('scared.jpg', img) basewidth = 384 imgCrop = Image.open('scared.jpg')