Init commit

This commit is contained in:
pporcheret
2026-10-24 17:55:05 +02:00
parent 7152b10695
commit c9c3d5f223
122 changed files with 7154 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import cv2
def snapshot(path, index=0):
cap=cv2.VideoCapture(index); ok,frame=cap.read(); cap.release()
if not ok: raise RuntimeError('Impossible de lire la caméra locale')
cv2.imwrite(path,frame); return path