Over a million developers have joined DZone.

Optical Character Recognition (OCR) With TESS4J

DZone's Guide to

Optical Character Recognition (OCR) With TESS4J

Sometimes you just need character recognition. Enter Tess4j. Here's how to implement optical character recognition for images and documents.

· Web Dev Zone ·
Free Resource

Read this guide to learn everything you need to know about RPA, and how it can help you manage and automate your processes.

Tess4j is a JNA-based wrapper for Tesseract OCR DLL, the library provides optical character recognition (OCR) support for:

  • TIFF, JPEG, GIF, PNG, and BMP image formats
  • Multi-page TIFF images
  • PDF document format

How To Run The Sample

Step 1 :Download the Maven  project from here

Step 2 : Run the Example

Add VM Argument

64 bit


32 bit



  Step 3  : Output


Get the senior executive’s handbook of important trends, tips, and strategies to compete and win in the digital economy.

.net ,java ,web dev ,tess4j

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}