Click here to Skip to main content
15,905,614 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
public class aspire {
public static void main(String[] args) throws IOException {
BufferedImage image = ImageIO.read(new File("C:/Test2.jpg"));
String s = new OCR().recognizeEverything(image);
System.out.println("\n---- RESULTS: ------- \n" + s);
}
}

Exception in thread "main" javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(Unknown Source)
at aspire.main(aspire.java:14)
in above code that error is getting where i am wrong please tell me.......
Posted
Updated 9-Oct-13 5:20am
v2
Comments
thatraja 9-Oct-13 11:22am    
baliram bhande 9-Oct-13 11:29am    
that question is different look carefully different api i occurred two diierent problem in two different question
thatraja 9-Oct-13 11:32am    
I know that but you could have used a single question for this like same question with multiple updates.
baliram bhande 9-Oct-13 11:33am    
k second time i am remember
thatraja 9-Oct-13 11:35am    
OK

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900