Просмотр исходного кода

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 лет назад
Родитель
Сommit
51b8a919c9
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      radio.py

+ 2
- 2
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:


Загрузка…
Отмена
Сохранить