Skip to content

Instantly share code, notes, and snippets.

View lucagessi's full-sized avatar

Luca Gessi lucagessi

  • Italia
View GitHub Profile
@lucagessi
lucagessi / video.py
Last active July 5, 2021 19:47
Script used for face images generation
import cv2
import time
video_capture = cv2.VideoCapture(0)
folder = "./test/luca"
while True:
# Capture frame-by-frame
ret, frame = video_capture.read()
cv2.imshow('Video', frame)