This repository is intended to be a store house of all the relevant and frequently usable scripts for processing of images Currently it includes 2 files:
-
binarize_image_sauvola_thresholding.py Applies "Sauvola" thresholding to prepare a binary image out of the given input image.
-
smoothen_image.py Smoothens image using "fastNlMeansDenoising" and "Gaussian blur".
Important Links:
-
Denoising an image Remove spurious small islands of noise in an image using Python and OpenCV https://stackoverflow.com/questions/30369031/remove-spurious-small-islands-of-noise-in-an-image-python-opencv
-
Different thresholding examples(Binarization using OpenCV-python) https://docs.opencv.org/3.3.0/d7/d4d/tutorial_py_thresholding.html
-
Finding blocks of text in an image using Python, OpenCV and numpy https://github.com/danvk/oldnyc/blob/master/ocr/tess/crop_morphology.py
-
Tesseract-an opensource OCR Improve quality of an image before Tesseract https://github.com/tesseract-ocr/tesseract/wiki/ImproveQuality
-
Morphological Transformations Ex. Erotion, Dilation https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_imgproc/py_morphological_ops/py_morphological_ops.html