Skip to content

Instantly share code, notes, and snippets.

View xoxota99's full-sized avatar

Phil D. xoxota99

View GitHub Profile
@xoxota99
xoxota99 / webcam_imutils.py
Last active March 3, 2018 05:30
Using Videostream causes Flickering
from imutils.video import VideoStream
import cv2
# using VideoStream
vs = VideoStream(0).start()
# time.sleep(2.0)
lastFrame = None
@xoxota99
xoxota99 / webcam_opencv.py
Last active March 3, 2018 05:30
Working OpenCV absdiff.dilate display
import cv2
# using pure OpenCV.
vs = cv2.VideoCapture(0)
# time.sleep(2.0)
lastFrame = None
while True: