Skip to content

Instantly share code, notes, and snippets.

@huttarl
huttarl / gist:f2042c9dcf1bff4f076585f61973795c
Created March 8, 2018 02:42
Results from settings/integrity/failed
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times and include the technical details below in your report.
More details can be found in the server log.
Technical details
Remote Address: 75.89.227.223
import sys
import cv
class FaceDetect():
def __init__(self):
cv.NamedWindow ("CamShiftDemo", 1)
device = 0
self.capture = cv.CaptureFromCAM(device)
capture_size = (320,200)
cv.SetCaptureProperty(self.capture, cv.CV_CAP_PROP_FRAME_WIDTH, capture_size[0])