Some Stuff

This commit is contained in:
Michael Mikovsky
2025-02-06 11:13:44 -07:00
parent e9cd8968f2
commit 8287c33b20
3 changed files with 247 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import cv2
cap = cv2.VideoCapture(0)
while True:
ret, frame = cap.read()
with open('/dev/fb0', 'rb+') as buf:
buf.write(frame)
cap.release()