HackUTOKYOv2Pim

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit f70bbece70beb9673c72abf6c597520f3546f84e
parent 5ff06a8eed9fee0cc0ad40894b9d36903f6b76b2
Author: 諒太 林 <ryouturn@gmail.com>
Date:   Fri, 30 Aug 2024 21:04:34 +0900

update test

Diffstat:
Mtest.py | 15+++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/test.py b/test.py @@ -16,12 +16,6 @@ camLimit = 5 #GPIO.setup(27, GPIO.OUT)#27:MS2 #GPIO.setup(22, GPIO.OUT)#22:MS3 -#逆かもしれない -def escapeR(): - print("escapeR") -def escapeL(): - print("escapeL") - def main(): while(True): ret, frame = cap.read() @@ -45,6 +39,15 @@ def main(): if cv2.waitKey(1) != -1: break + +#逆かもしれない +def escapeR(): + print("escapeR") +def escapeL(): + print("escapeL") + + + def mosaic(src): dst = cv2.resize(src, None, fx=0.1, fy=0.1, interpolation=cv2.INTER_NEAREST) return cv2.resize(dst, src.shape[:2][::-1], interpolation=cv2.INTER_NEAREST)