Apply Threshold Filter to Image Using OpenCV 2.4

In this python exercise we convert a color image to grayscale and then apply threshold filter to it. The threshold filter converts the grayscale image to a binary image. We also save the final image to the working folder. Note that a¬†function called “shape” is used from the numpy library. The shape function gives the […]