Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27529

Re: Getting the Text from Image and PDF

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Getting the Text from Image and PDF
Date 2014-02-16 16:11 +0000
Organization A noiseless patient Spider
Message-ID <ldqnvb$svj$1@dont-email.me> (permalink)
References <b2a78e28-7f59-4fc1-9739-2ef1317971e8@googlegroups.com> <slrnlfsb2t.ngg.avl@gamma.logic.tuwien.ac.at>

Show all headers | View raw


On Fri, 14 Feb 2014 14:46:53 +0000, Andreas Leitgeb wrote:

> Jan <janreddy.sr@gmail.com> wrote:
>> Hi friends,
>> This is Jan, I am new to this Group.
>> I have a requirement here.
>>       Is there any Java API for getting the Text data from an Image and
>>       PDF formats.
> 
> For reading characters from graphical data, google "ocr" (and "java")
> (the acronym means "optical character recognition")
>
I wonder what the OP means by "the Text data from an Image" because there 
are two possibilities: images of text, which would require OCR 
capabilities, or the text held in the EXIF tags found in many image types.

It might help if this was clarified by the OP.
 
> PDFs may contain the text directly (non-graphically), which would make
> extraction much easier (and not require ocr).
>
I think something similar applies to PDFs: some are little more than an 
encapsulated page image, in which case you need OCR capabilities to 
extract it, but other PDFs contain blocks of text, possibly interspersed 
with embedded images. These are the ones that can be opened and modified 
by Office Libre and similar programs.

Again, it would help if the OP could say what he is trying to do.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Getting the Text from Image and PDF Jan <janreddy.sr@gmail.com> - 2014-02-14 01:09 -0800
  Re: Getting the Text from Image and PDF Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2014-02-14 14:46 +0000
    Re: Getting the Text from Image and PDF Martin Gregorie <martin@address-in-sig.invalid> - 2014-02-16 16:11 +0000
  Re: Getting the Text from Image and PDF Jeff Higgins <jeff@invalid.invalid> - 2014-02-14 13:23 -0500
  Re: Getting the Text from Image and PDF Roedy Green <see_website@mindprod.com.invalid> - 2014-02-16 07:24 -0800

csiph-web