Explorar el Código

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 hace 2 años
padre
commit
51b8a919c9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      radio.py

+ 2
- 2
radio.py Ver fichero

@@ -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:


Cargando…
Cancelar
Guardar