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

comments

parent ff093af6
No related branches found
No related tags found
No related merge requests found
from time import monotonic_ns
from numpy.core.arrayprint import _make_options_dict
def smileyRandom(emotionToDodge):
#Return a random smiley and te emotion associated
......@@ -14,7 +19,12 @@ def smileyRandom(emotionToDodge):
def game(playTime = 30, invincibleFrame=0.5, dt_required=0.5, n_photos=None):
#Play a game during playTime seconds.
#Play a game.
# playTime : durée de jeu
# invincibleFrame : durée minimale entre deux émotions
# dt_required : durée minimal nécessaire pour valider une émotion
# n_photos : nombre de photos prises
#Use your camera for processing the video. Stop by pressing Q
import cv2
......
from game import *
from videoCapture import *
game(playTime=300, invincibleFrame=5, dt_required=0.5, n_photos=5)
game(playTime=60, invincibleFrame=1, dt_required=0.3, n_photos=5)
#videoCapture()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment