mirror of
https://github.com/Astatin3/optical-flow-outliar.git
synced 2026-06-08 16:18:09 -06:00
9 lines
157 B
Python
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()
|