Home:ALL Converter>Extract images/texts from PDF using Perl

Extract images/texts from PDF using Perl

Ask Time:2016-04-27T21:26:52         Author:Priya Samy

Json Formatter

I am trying to extract texts/images/tables from a PDF file using Perl.

I tried using CAM::PDF which is not extracting in text but as some other format.

Is there a method to extract texts/images/tables from a PDF using Perl modules?

Author:Priya Samy,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/36891223/extract-images-texts-from-pdf-using-perl
selva kumar :

@priya..i tried this module which is working fine for PDF text extraction..\n\nuse strict;\nuse warnings;\nuse PDF::OCR::Thorough;\n\n\nmy $filename = \"pdf.pdf\";\n\nmy $pdf = PDF::OCR::Thorough->new($filename);\nmy $text = $pdf->get_text();\nprint \"$text\";\n",
2016-05-24T18:22:41
yy