We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Resource file spanish ocr java

I found Spanish resource file for .NET, I use this file with OCR Java?, from OCR JAVA link of resources open page of .NET resources, please help me…


Thank you for contacting Aspose Support.

Yes, you may use the same resource file for OCR Java as shown below.

OcrEngine ocrEngine = new OcrEngine();

// Set the paths
String imageFileName = "Sample.jpg";

// Set the Image property by loading the image from file path location

// Clear the default language (English)

// Load the resources of the language from file path location or an instance of InputStream

// Process the image
if (ocrEngine.process()) {
    // Display the recognized text

Our both .NET and Java APIs use the same resource files which is why the link is redirecting you to the same page for resources.