DEV Community

Lucas de Brito Silva
Lucas de Brito Silva

Posted on

Answer: How do I increase the contrast of an image in Python OpenCV

For Python, I haven't found an OpenCV function that provides contrast. As others have suggested, there are some techniques to automatically increase contrast using a very simple formula.

In the official OpenCV docs, it is suggested that this equation can be used to apply both contrast and brightness at…

Oldest comments (0)