Skip to content

Instantly share code, notes, and snippets.

View KyleJFischer's full-sized avatar
🏠
Working from home

Kyle J. Fischer KyleJFischer

🏠
Working from home
View GitHub Profile
@Luxato
Luxato / camera.py
Last active April 23, 2024 06:34
Take picture from USB camera with python
import cv2
import imutils
import time
cap = cv2.VideoCapture(0)
ret, frame = cap.read()
def takePicture():
(grabbed, frame) = cap.read()
showimg = frame