Files
optical-flow-outliar/videoout.py
T

9 lines
157 B
Python
Raw Normal View History

2025-02-06 11:13:44 -07:00
import cv2
cap = cv2.VideoCapture(0)
while True:
ret, frame = cap.read()
with open('/dev/fb0', 'rb+') as buf:
buf.write(frame)
cap.release()