|
|
|
@ -3,31 +3,85 @@ espeak "Gait analysis number one." -v en
|
|
|
|
|
sleep 1
|
|
|
|
|
|
|
|
|
|
espeak "Please state your name:" -v en
|
|
|
|
|
sleep 1
|
|
|
|
|
|
|
|
|
|
espeak "Position yourself 2 to 3 meters away from the Tetra Gamma Circulaire." -v en
|
|
|
|
|
sleep 2
|
|
|
|
|
|
|
|
|
|
espeak "Walk towards the Tetra Gamma Circulaire in a straight line ." -v en
|
|
|
|
|
sleep 0.2
|
|
|
|
|
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
|
|
|
|
|
basename=clips/$(date +%Y-%m-%d-%H-%M-%S)
|
|
|
|
|
echo recording $basename.avi...
|
|
|
|
|
scripts/black2.py --output $basename.avi --time 3
|
|
|
|
|
scripts/black2.py --output $basename.avi --frames 50 --framerate 4 --width 320 --height 240
|
|
|
|
|
# convert to mp4
|
|
|
|
|
ffmpeg -i $basename.avi -y $basename.mp4
|
|
|
|
|
# make a thumnail image
|
|
|
|
|
ffmpeg -i $basename.avi -vframes 1 -ss 0.5 -y $basename.jpg
|
|
|
|
|
rm $basename.avi
|
|
|
|
|
# rm $basename.avi
|
|
|
|
|
|
|
|
|
|
espeak "ciao ciao halo" -v en
|
|
|
|
|
sleep 2
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
|
|
|
|
|
espeak "Position yourself one meter away to the left of the Tetra Gamma Circulaire." -v en
|
|
|
|
|
sleep 1
|
|
|
|
|
|
|
|
|
|
espeak "Walk from left to right in front of the Tetra Gamma Circulaire.
|
|
|
|
|
" -v en
|
|
|
|
|
sleep 0.2
|
|
|
|
|
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
|
|
|
|
|
basename=clips/$(date +%Y-%m-%d-%H-%M-%S)
|
|
|
|
|
echo recording $basename.avi...
|
|
|
|
|
scripts/black2.py --output $basename.avi --frames 50 --framerate 4 --width 320 --height 240
|
|
|
|
|
# convert to mp4
|
|
|
|
|
ffmpeg -i $basename.avi -y $basename.mp4
|
|
|
|
|
# make a thumnail image
|
|
|
|
|
ffmpeg -i $basename.avi -vframes 1 -ss 0.5 -y $basename.jpg
|
|
|
|
|
# rm $basename.avi
|
|
|
|
|
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
|
|
|
|
|
espeak "Turn your back to the Tetra Gamma Circulaire." -v en
|
|
|
|
|
sleep 1
|
|
|
|
|
|
|
|
|
|
espeak "Walk away from the Tetra Gamma Circulaire.
|
|
|
|
|
" -v en
|
|
|
|
|
sleep 0.2
|
|
|
|
|
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
|
|
|
|
|
basename=clips/$(date +%Y-%m-%d-%H-%M-%S)
|
|
|
|
|
echo recording $basename.avi...
|
|
|
|
|
scripts/black2.py --output $basename.avi --time 3
|
|
|
|
|
scripts/black2.py --output $basename.avi --frames 50 --framerate 4 --width 320 --height 240
|
|
|
|
|
# convert to mp4
|
|
|
|
|
ffmpeg -i $basename.avi -y $basename.mp4
|
|
|
|
|
# make a thumnail image
|
|
|
|
|
ffmpeg -i $basename.avi -vframes 1 -ss 0.5 -y $basename.jpg
|
|
|
|
|
rm $basename.avi
|
|
|
|
|
# rm $basename.avi
|
|
|
|
|
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
espeak "Position yourself 2 to 3 meters away from the Tetra Gamma Circulaire." -v en
|
|
|
|
|
sleep 1
|
|
|
|
|
|
|
|
|
|
espeak "Walk towards the Tetra Gamma Circulaire on a zig zag line.
|
|
|
|
|
" -v en
|
|
|
|
|
sleep 0.2
|
|
|
|
|
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
|
|
|
|
|
basename=clips/$(date +%Y-%m-%d-%H-%M-%S)
|
|
|
|
|
echo recording $basename.avi...
|
|
|
|
|
scripts/black2.py --output $basename.avi --frames 50 --framerate 4 --width 320 --height 240
|
|
|
|
|
# convert to mp4
|
|
|
|
|
ffmpeg -i $basename.avi -y $basename.mp4
|
|
|
|
|
# make a thumnail image
|
|
|
|
|
ffmpeg -i $basename.avi -vframes 1 -ss 0.5 -y $basename.jpg
|
|
|
|
|
# rm $basename.avi
|
|
|
|
|
|
|
|
|
|
play sweep_up.wav
|
|
|
|
|
|
|
|
|
|
# subprocess.call(["espeak", "Please state your name:", "-v", "en"])
|
|
|
|
|
# sleep(2)
|
|
|
|
|