Ilham Safeek
Ilham Safeek

Reputation: 287

How to Extract text from image in java?

Is there any simple way to extract Text from an image? I want to print that text in the console.

for instance, if I have an image as follows,

enter image description here

we should be able to print that 'TEXT' in the console.

Upvotes: 0

Views: 9984

Answers (1)

Mike Adamenko
Mike Adamenko

Reputation: 3002

You should use OCR engine for this purposes.

Try https://github.com/tesseract-ocr/tesseract . It's an opensource engine.

Upvotes: 2

Related Questions