From 51b8a919c9317f0de473b318ff84e37208c91930 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Sun, 11 Jul 2021 09:59:32 -0700 Subject: [PATCH] Kitchen install V1 This is the version that was installed when I first set up in the kitchen. It is very droney, has the slightly faster transients but not enough noise. Also has a small optimization to reduce CPU load - only compute every 1/10s --- radio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio.py b/radio.py index 79bfdb0..31b8448 100644 --- a/radio.py +++ b/radio.py @@ -70,8 +70,8 @@ def analyze(frame, osc): if __name__ == '__main__': - camera = cv2.VideoCapture("/dev/video2") - # camera = cv2.VideoCapture(0) + # camera = cv2.VideoCapture("/dev/video2") + camera = cv2.VideoCapture(0) osc = udp_client.SimpleUDPClient("0.0.0.0", 5005) while True: