Check if PDF is scanned image or contains text

We have a large number of files, some of them are scanned images into PDF and some are full/partial text PDF.

Is there a way to check these files to ensure that we are only processing files which are scanned images and not those that are full/partial text PDF files already?

We are using C# .NET 4.

Thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

5 comments

  • Avatar
    Nikolay_Kh

    ABBYY Cloud OCR SDK currently doesn't provide API for the task you describe. You can try using Adobe Reader COM API for saving pdf as text or look for some other solution. Have a look at this for example. Please let me know if you have any more questions.

    1
  • Avatar
    mattopson

    You can use OCR program & see who better it is ? Hopefully you will get the a good result. good luck.

    0
  • Avatar
    Nikolay_Kh

    Hello Mat, please avoid discussing non-ABBYY OCR software unless you provide a solution for the described task. The link you provide doesn't clearly state how Jacob could look for text layer in his PDF files.

    You can refer to our FAQ page for details: http://forum.ocrsdk.com/faq/

    0
  • Avatar
    AJW

    Use iTextSharp to pre-process/check your PDF. We do this before we send anything to OCR with our own servers, because it saves a lot of time and reduces our queue.

    (I am looking at this service as a replacement for our standard installation, but that is what we do right now.)

    -AJ

    1
  • Avatar
    ibr.a

    Hi, AJW
    That is exactly what I'm looking for right now, do you know a link or some documentation on how to use the  iTextSharp for pre-process?
    I have downloaded "itextsharp-all-5.5.10" and found inside it Zipped files with bunch of libraries
    Thanks in advance

    0

Please sign in to leave a comment.