Difference between cv2..VideoCapture(0) and imutils VideoStream(src = 0).start()

The VideoStream class can be constructed with the new resolution.

VideoStream(src=0, usePiCamera=False, resolution=(320, 240), framerate=32, **kwargs)