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


Groups > comp.lang.java.programmer > #27505 > unrolled thread

Getting the Text from Image and PDF

Started byJan <janreddy.sr@gmail.com>
First post2014-02-14 01:09 -0800
Last post2014-02-16 07:24 -0800
Articles 5 — 5 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  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

#27505 — Getting the Text from Image and PDF

FromJan <janreddy.sr@gmail.com>
Date2014-02-14 01:09 -0800
SubjectGetting the Text from Image and PDF
Message-ID<b2a78e28-7f59-4fc1-9739-2ef1317971e8@googlegroups.com>
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. Please let me know the same. If anything found, please suggest me regarding them.


Thanks && Regards..
Jan

[toc] | [next] | [standalone]


#27508

FromAndreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Date2014-02-14 14:46 +0000
Message-ID<slrnlfsb2t.ngg.avl@gamma.logic.tuwien.ac.at>
In reply to#27505
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")

PDFs may contain the text directly (non-graphically), which would make
extraction much easier (and not require ocr).

[toc] | [prev] | [next] | [standalone]


#27529

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2014-02-16 16:11 +0000
Message-ID<ldqnvb$svj$1@dont-email.me>
In reply to#27508
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       |

[toc] | [prev] | [next] | [standalone]


#27511

FromJeff Higgins <jeff@invalid.invalid>
Date2014-02-14 13:23 -0500
Message-ID<ldln5i$nmv$1@dont-email.me>
In reply to#27505
On 02/14/2014 04:09 AM, Jan 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. Please let me know the same. If anything found, please suggest me regarding them.
>

<http://www.catb.org/~esr/faqs/smart-questions.html#before>

[toc] | [prev] | [next] | [standalone]


#27528

FromRoedy Green <see_website@mindprod.com.invalid>
Date2014-02-16 07:24 -0800
Message-ID<tvl1g95lhlcejplgqorna7ffdb6sk7ufvb@4ax.com>
In reply to#27505
On Fri, 14 Feb 2014 01:09:12 -0800 (PST), Jan <janreddy.sr@gmail.com>
wrote, quoted or indirectly quoted someone who said :

> Is there any Java API for getting the Text data from an Image and PDF formats. 
>Pease let me know the same. If anything found, please suggest me regarding them

You could spawn a copy of Nuance Omnipage. It can OCR pdfs.  You might
just look for PDF --> X converters.

See http://mindprod.com/pdf.html

-- 
Roedy Green Canadian Mind Products http://mindprod.com
The future has already happened, it just isn’t evenly distributed.
~ William Gibson (born: 1948-03-17 age: 65)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web