diff --git a/radio.py b/radio.py new file mode 100644 index 0000000..1a21dea --- /dev/null +++ b/radio.py @@ -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()