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 6 of 6

Thread: Character recognition in images

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Character recognition in images

    Hi there, I want to make a program which takes an image, reads the text written in the image and outputs the text to an editable format such as a .txt file or a .doc file. How should I proceed, any ideas???


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: Character recognition in images

    You have posted in the wrong forum. Thread moved.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,308
    Thanks
    181
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: Character recognition in images

    What you want is far from trivial, and most solutions require complex machine learning algorithms. The following is the only java library I know of written exclusively in java, and I have not tried it for its abilities
    Java OCR | Ron Cemer's Blog

    Also, google "optical character recognition"

  4. #4
    Junior Member
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Character recognition in images

    Quote Originally Posted by vaibhav21 View Post
    Hi there, I want to make a program which takes an image, reads the text written in the image and outputs the text to an editable format such as a .txt file or a .doc file. How should I proceed, any ideas???
    What you need is OCR (optical charcter regognition) SDK. As far as i know, there are no free/opensource pure Java OCR engines. There are Java APIs which wrap calls for native interfaces, for example, for one of the most popular opensource OCR engines - Tesseract - there are some Java wrappers like tesjeract or Tess4J.

    However, opensource engines are rather hard to set up and don't provide enough quality, so if you are planning a business software - have a look at ABBYY FineReader Engine. It has a well-composed developer guide, a great set of image analysis and preprocessing features and provides Java API. It's not free, but, as you may know, ABBYY provides the best OCR quality, for example check out Linux OCR Software Comparison [splitbrain.org] or you may test it yourself, it’s free to try.

    One more solution could be a cloud service. It requires end-user application to have the internet connection, but it's independent from your programming language choice and resources limitations. Have a look at ABBYY Cloud OCR SDK, it's a cloud-based OCR SDK recently launched by ABBYY. It's in beta, so for now it's totally free to use.
    Last edited by NikolayKhl; November 30th, 2011 at 05:04 AM.

  5. #5
    Junior Member
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Character recognition in images

    Here is a tool; I hope itís going to solve your problem,

    Aspose.OCR for Java is a Java OCR component that allows developers to add OCR functionality in their Java web applications, web services and Windows applications. It provides a simple set of classes for controlling character recognition tasks. It helps developers to work with image files from within their Java applications. It allows developers to extract text from images, Read font, style information quickly, saving time & effort involved in developing an

    Here is a related post:
    Extract Text from Specific Part of the Image: http://docs.aspose.com/display/ocrne...t+of+the+Image

  6. #6
    Junior Member
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Character recognition in images

    hi vaibhav21
    i want the Same project which you were looking for year ago.
    i have done till now is that i am taking an image and able to do binarize.
    now i am confused how to extract text from an image and save in .txt file
    propabably you got the solution. so plz help me out for this.

Similar Threads

  1. voice recognition package ?
    By somebodyonearth in forum Java Theory & Questions
    Replies: 1
    Last Post: November 11th, 2011, 05:56 PM
  2. Speech Recognition: javax.speech.recognition
    By Rapunzel in forum What's Wrong With My Code?
    Replies: 0
    Last Post: June 16th, 2011, 09:10 AM
  3. Speech recognition project
    By zulqar in forum Java Applets
    Replies: 1
    Last Post: October 31st, 2010, 02:08 PM
  4. Speach Recognition
    By zulqarnain ali abid in forum Java Theory & Questions
    Replies: 1
    Last Post: October 28th, 2010, 07:16 PM
  5. The character '' is an invalid XML character exception getting
    By sumanta in forum What's Wrong With My Code?
    Replies: 5
    Last Post: January 9th, 2010, 11:13 AM