Java APIs to perform OCR on images
Add image based Optical Character Recognition feature to your Java applications.Download Free Trial
Aspose.OCR for Java
Aspose.OCR for Java is an optical character API that allows developers to add OCR functionality to their Java applications without requiring any additional tool or API. Aspose.OCR for Java allows extracting text from images having different fonts and styles - saving the time and effort involved in developing an OCR solution from scratch.
At A Glance
An overview of the capabilities of Aspose.OCR for Java.
- Times New Roman
- Courier New
Aspose.OCR for Java supports the JDK 1.6 and above.
- JSP/JSF Application
- Desktop Application
Supported File Formats
Aspose.OCR for Java supports mostly commonly used raster image formats.
Java OCR API Features
Read characters from images
Support for common image file formats
Support for global languages
Read text in popular fonts
Support for common font styles
Scan the whole image or any part of it
Scan rotated images
Apply noise removal filters
Specify multiple white lists
Simplest APIs to Perform OCR on Images
With as little as 4 lines of code, you can add OCR functionality to your Java applications. It is really that simple!
Perform OCR on image - Java
// create an instance of OcrEngine OcrEngine engine = new OcrEngine(); // set image file engine.setImage(ImageStream.fromFile(dir + "template.jpg")); // process the image engine.process(); // get results System.out.println(engine.getText());
Scan Whole Image or Portion
Using Aspose.OCR for Java, developers can extract text and related information such as font, style & location of the text from specific parts of an image. This feature allows to perform the OCR operation quickly on document scans that follow the similar structure.
Recognize Text in Popular Fonts & Styles
Aspose.OCR for Java API supports Arial, Times New Roman, Courier New, Verdana, Tahoma and Calibri fonts in regular, bold and italic text styles.
Support for Global Languages
Aspose.OCR for Java API supports multiple languages such as English, French, Spanish and Portuguese.