Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: ocr in image processing

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Location
    delhi
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ocr in image processing

    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.......


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: ocr in image processing

    Once is enough...
    http://www.javaprogrammingforums.com...tml#post125619
    Please don't post the same question again.
    Thread locked.

Similar Threads

  1. ocr in image processing
    By rammane@gmail.com in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 30th, 2014, 11:01 PM
  2. Image Processing
    By sachinshahi_2010 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 25th, 2013, 12:45 PM
  3. Image Processing
    By vigneshwaran in forum AWT / Java Swing
    Replies: 1
    Last Post: November 27th, 2012, 07:33 AM
  4. Re: Image Processing
    By rajkula in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: August 3rd, 2012, 10:41 AM
  5. Image Processing
    By subash in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: June 8th, 2011, 08:40 AM