I have donwloaded the ASpire OCR zipped file and unzipped
Copied the DLL files ( ASpireOCr.dll , DEVIL and iLU DLL to system32 folder)
Added the aspireOCr jar file to eclipse external jar
Now written a script to read the text inside The image
I have added the Environment Path value as D:/Aspires - this folder consist of unzipped data
also have added the Environment classpath D:\ASpires\aspriseOCR.jar
Now when i run the script
WebDriver fire = new FirefoxDriver();
String urlOfImage=fire.findElement(By.xpath("//*[@id='post-body-5614451749129773593']/div[1]/div[1]/div/a/img")).getAttribute("src");
System.out.println("image text"+urlOfImage);
URL url = new URL(urlOfImage);
Image i0 = ImageIO.read(url);
String s = new OCR().recognizeEverything((RenderedImage) i0); // exception got is here
System.out.println(s);
Exception in thread "main" java.lang.UnsatisfiedLinkError: no AspriseOCR in java.library.path
Can any one please help me out in correcting it ?