Opencv, Computer Vision, Image Processing, Machine Learning, Python.
cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) equalized_image = cv2.equalizeHist(gray) cv2.imshow("original gray", gray) cv2.imshow("Equalized image", equalized_image) cv2.waitKey(0) cv2.destroyAllWindows() And the result is this: Original image vs equalized image Now, As you can see that though we can