How to read text from image?

Discussions

Web tier: servlets, JSP, Web frameworks: How to read text from image?

  1. How to read text from image? (1 messages)

    Hello

    I have a text which is embeded inside an image. I need to read text from Image. How to to do it? Below file(File.java) reads image file but how to read text from image? I am using java?

    import java.io.*;
    class File {
    public static void main(String args[])
    {
    File f1=new File("c:
    java","abc.jpg");
    System.out.println("File Name:"+f1.getName());
    }
    }

    Looking forward for an early reply.
    Thanks.
  2. How to read text from image in java?[ Go to top ]

    Hello,

    I got a site www.javaocr.com but it reads text from white background only & text should be black only that is black txt on white bg but my image doesn't have white bg or black txt, what to do?