{"id":1422,"date":"2020-08-17T13:36:24","date_gmt":"2020-08-17T13:36:24","guid":{"rendered":"https:\/\/muthu.co\/?p=1422"},"modified":"2021-05-24T02:25:03","modified_gmt":"2021-05-24T02:25:03","slug":"pre-processing-for-detecting-text-in-images","status":"publish","type":"post","link":"http:\/\/write.muthu.co\/pre-processing-for-detecting-text-in-images\/","title":{"rendered":"Pre processing for Detecting text in images"},"content":{"rendered":"\n
One of the important steps in OCR is the thresholding process. It helps us in separating the text regions (foreground) from the background. If you apply a thresholding algorithm like OTSU or Sauvola, you might end up with a lot of noise. Some of your text regions may even get categorized as background. Take a look at the below examples where I applied Sauvola algorithm directly on grayscale images without any pre-processing. <\/p>\n\n\n\n