Click here to Skip to main content
15,740,826 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 = 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 Source)
at aspire.main(
in above code that error is getting where i am wrong please tell me.......
Updated 9-Oct-13 5:20am
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    

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