Browse Source

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
tags/kitchen
Pete Shadbolt 3 years ago
parent
commit
51b8a919c9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      radio.py

+ 2
- 2
radio.py View File

@@ -70,8 +70,8 @@ def analyze(frame, osc):




if __name__ == '__main__': 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) osc = udp_client.SimpleUDPClient("0.0.0.0", 5005)


while True: while True:


Loading…
Cancel
Save