Browse Source

Add example

tags/kitchen
Pete Shadbolt 3 years ago
parent
commit
1671d6872a
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      radio.py

+ 14
- 0
radio.py View File

@@ -0,0 +1,14 @@
import cv2

camera = cv2.VideoCapture(0)

while True:
ret, frame = camera.read()
cv2.imshow('Input', frame)

c = cv2.waitKey(1)
if c == 27:
break

camera.release()
cv2.destroyAllWindows()

Loading…
Cancel
Save