Files
optical-flow-outliar/videoout.py
T
Michael Mikovsky 8287c33b20 Some Stuff
2025-02-06 11:13:44 -07:00

9 lines
157 B
Python

import cv2
cap = cv2.VideoCapture(0)
while True:
ret, frame = cap.read()
with open('/dev/fb0', 'rb+') as buf:
buf.write(frame)
cap.release()