python 2 change contrast opencv code example Example: increase contrast cv2 Click to copy# Enhance image image_enhanced = cv2.equalizeHist(image)