mirror of
https://forge.apps.education.fr/blender-edutech/blender-edutech-tutoriels.git
synced 2024-01-27 09:42:33 +01:00
Détection de la bille
This commit is contained in:
parent
0dda143b9c
commit
7693eb5266
@ -1,6 +1,5 @@
|
||||
import os, time
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
import cv2 as cv
|
||||
|
||||
###############################################################################
|
||||
@ -62,7 +61,7 @@ while cam.isOpened():
|
||||
|
||||
# Sortir
|
||||
echap = cv.waitKey(1) # Saisie clavier avec un timeout de 1 ms
|
||||
if echap & 0xFF == ord('q') or key == 27 :
|
||||
if echap & 0xFF == ord('q') or echap == 27 :
|
||||
break
|
||||
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user