Skip to content
Snippets Groups Projects
Commit 8c84e234 authored by Timothé Boulet's avatar Timothé Boulet :alien:
Browse files

c

parent 54a417d4
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -76,7 +76,7 @@ def game(playTime = 30, invincibleFrame=0.5, dt_required=0.5, n_photos=None):
smiley = smileyNeutral.copy()
cv2.imshow("Caméra", frame) #Show you making emotional faces
cv2.putText(smiley, "Score: "+str(score), (40,40), cv2.FONT_HERSHEY_SIMPLEX, 1, (0,0,255), 2)
cv2.putText(smiley, "Timer: "+str(time.time()-timeInitial), (20,240), cv2.FONT_HERSHEY_SIMPLEX, 1, (255,0,0), 2)
cv2.putText(smiley, "Timer: "+str(round(time.time()-timeInitial, 1)), (20,240), cv2.FONT_HERSHEY_SIMPLEX, 1, (255,0,0), 2)
cv2.imshow("Smiley", smiley) #Show the smiley to mimic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment