I have a sequence of images. I need to average brightness of these images.
First example (very slow):
img = cv2.imread(\'test.jpg\')
Slice to select just the third channel and then modify those elements -
hsv[:,:,2] += value