Browse our Products

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-ocr</artifactId>
    <version>20.8</version>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-ocr', version: '20.8')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-ocr" rev="20.8">
    <artifact name="aspose-ocr" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-ocr" % "20.8"
copied!  

Java OCR Library

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.OCR for Java is a character and optical mark recognition API that allows developers to add OCR functionality in their applications. It provides a simple set of classes for controlling character recognition.

Convert Image to Text via Java

  • Read characters from images.
  • Support for JPG, PNG, GIF, BMP and TIFF image file formats for OCR.
  • Support for English, French, Spanish and Portuguese.
  • Read popular fonts including Arial, Times New Roman, Courier New, Verdana, Tahoma and Calibri.
  • Support for regular, bold and italic font styles.
  • Scan the whole image or any part of the image.
  • Scan rotated images.
  • Can apply different noise removal filters before image recognition.
  • Extract optical marked elements from Scanned images.
  • Support for various optical marked elements such as Check Box, Choice Box, Grid, Barcode & OCR.

Supported Characters

space!"#$%&'()
*+,-./0123
456789:;<=
>?@[\]_`{|
}~ABCDEFGH
IJKLMNOPQR
STUVWXYZab
cdefghijkl
mnopqrstuv
wxyzÂÀÁÃÄÆ
ÇÈÉÊËÌÍÎÏÑ
ÒÓÔÕÖÙÚÛÜ
ßàáâãäæçèé
êëìíîïñòóô
õöùúûüÿŒœŸ

Load Images for OCR

Raster Formats: JPEG, PNG, GIF, BMP, TIFF

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 6.0 (1.6) or above

Get Started

Aspose.OCR Java APIs are hosted at the Aspose Repository. You can easily use Aspose.OCR for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.OCR for Java from Maven Repository documentation page.

Extract Text from Specific Areas on Image

// create API instance
AsposeOCR api = new AsposeOCR();
// prepare rectangles with texts.
ArrayList rectArray = new ArrayList();
rectArray.add(new Rectangle(138, 352, 2033, 537));
rectArray.add(new Rectangle(147, 890, 2033, 1157));
String result = api.RecognizePage("template.png", rectArray);

System.out.println("Result with rect: " + result);

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

VersionRelease Date
24.10.0October 9, 2024
24.8.0September 2, 2024
24.6.0August 27, 2024
24.4.1July 17, 2024
24.6.1July 9, 2024
24.4.0April 13, 2024
24.3.0March 19, 2024
24.2.0February 19, 2024
24.1.0January 26, 2024
23.11.0November 30, 2023
23.10.0October 19, 2023
23.7.1July 31, 2023
23.7.0July 11, 2023
23.6.1June 27, 2023
23.6.0June 14, 2023
23.5.0May 22, 2023
23.4.0April 26, 2023
23.3.0March 29, 2023
23.2.0February 27, 2023
23.1.1January 27, 2023
23.1.0January 16, 2023
22.12.0December 15, 2022
22.11.1November 30, 2022
22.11November 21, 2022
22.10November 2, 2022
22.9September 28, 2022
22.8August 29, 2022
22.7July 25, 2022
22.6June 30, 2022
22.5May 23, 2022
22.4April 21, 2022
22.3March 31, 2022
22.2February 21, 2022
22.1February 2, 2022
21.12December 26, 2021
21.11November 19, 2021
21.10October 21, 2021
21.9September 22, 2021
21.8September 3, 2021
21.7July 30, 2021
21.1July 25, 2021
21.2July 25, 2021
21.3July 25, 2021
21.4July 25, 2021
21.5July 25, 2021
21.6July 25, 2021
20.9May 13, 2021
20.11November 29, 2020
20.10October 23, 2020
20.8August 31, 2020
20.7July 31, 2020
20.5May 26, 2020
17.11December 26, 2017
17.6July 26, 2017
17.3April 5, 2017
17.2March 6, 2017
17.01February 1, 2017
16.12December 30, 2016
16.11November 29, 2016
16.10October 22, 2016
3.7.0October 4, 2016
3.6.0August 29, 2016
3.4.0April 20, 2016
3.3.0March 9, 2016
3.2.0February 11, 2016
FileClassifierSize
aspose-ocr-20.8-javadoc.jarjavadoc34.33 KB
aspose-ocr-20.8.jar191.70 MB
aspose-ocr-20.8.pom1.46 KB

 
 English