瀏覽代碼

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 年之前
父節點
當前提交
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:


Loading…
取消
儲存