fixed intetnt

This commit is contained in:
gocivici 2023-10-19 17:04:29 +03:00
parent b09b7afb6b
commit 860d1ad953

View File

@ -64,7 +64,7 @@ if cam.isOpened():
cv2.rectangle(img,(30,400),(610,450),(255,255,255), 5) 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) 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) cv2.imwrite('scared.jpg', img)
basewidth = 384 basewidth = 384
imgCrop = Image.open('scared.jpg') imgCrop = Image.open('scared.jpg')