size fix
This commit is contained in:
parent
9f62d01e3e
commit
1c3e9044f6
2
main.py
2
main.py
@ -72,7 +72,7 @@ if cam.isOpened():
|
||||
img = cv2.cvtColor(np.array(img), cv2.COLOR_RGB2BGR)
|
||||
|
||||
cv2.rectangle(img,(30,550),(30+math.floor(int(fearPoint)*420/100),600),(255,255,255), -1)
|
||||
cv2.rectangle(img,(30,550),(450,600),(0,0,255), 5)
|
||||
cv2.rectangle(img,(30,550),(450,600),(0,0,255), 8)
|
||||
img = cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)
|
||||
cv2.imshow('webcam',img)
|
||||
cv2.waitKey(5000)
|
||||
|
Loading…
Reference in New Issue
Block a user