OpenCV with Python

I’m using openCV with Python. So, first you need to install Python and openCV. There are many tutorials online that explain how to do it. For me, the easiest was to download and install anaconda from here and then install openCV by typing this line in command line: conda install -c conda-forge opencv=3.2.0

You can refer to this or that.

Reading an image, convert to gray and showing it.

Image enhancement in spatial domain.

Image enhancement in frequency domain.