Skip to content

arixlee/Extract-text-from-image-via-python

Repository files navigation

Badge LICENSE Slack

Extract-text-from-image-via-python

This project is using Python Tesseract OCR library, python version 3.7

Make sure you have already pre-install Tesseract library and relevant language version of trained data files. Thanks to Tesseract community, you may get trained file via this link https://github.com/tesseract-ocr/tessdata

Sometimes it can't read the words directly, we need to perform simple image processing to invert image color before extract those text from an image.

Before invert

alt text
alt text

After invert

alt text
alt text

End result

alt text

Just a simple python code, hope you enjoy~ peace

About

This project is using Python Tesseract OCR library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages