DEV Community

Cover image for How to increase text recognition quality
Andrey Germanov
Andrey Germanov

Posted on

1

How to increase text recognition quality

Oftentimes, when using Optical Character Recognition software to extract and recognize text from an image, you get bad results if use default configuration, especially if the image scan resolution is less than 150 dpi. If recognize computer graphics, like text from screenshots or images from the web, then things become even more worst, because the standard resolution of web graphics is not more than 72 dpi. That is why need to pre-process images to increase recognition accuracy.

I created a tool, called "Image Reader", which is an online text recognition web application with image pre-processing features. It allows to upload an image with text, apply different filters to it and then extract text from it. This tool can be used as a playground to try and understand what exactly needs to do with images to increase text recognition quality. You can see a demo of this app here: https://youtu.be/WsuZHyAuDTI and of course, try the app itself.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay