I am trying to make image processing algorithm before proceeding to an OCR procedure.
Since the OCR fails. I needed to make a preprocessing in order to get better accuracy.
I am providing sample code used here and also the input and result image.
If you look close the dotted area is the problem.
Could you give me advise how to optimize the image processing? What kinds of procedures are needed to improve the OCR output?
What I have tried:
Here is my solution
Mat image = imread("address2.jpg");
cvtColor(image, gray_image, CV_BGR2GRAY);
GaussianBlur(gray_image, bluredImage, Size(1, 1), 0);
threshold(bluredImage, threshImage, 0, 255, THRESH_OTSU);