Skip to main content
Participant
May 27, 2022
Question

Why is some text in pdf extracted as figure (image) and not text using adobe dc sdk extract

  • May 27, 2022
  • 2 replies
  • 896 views

Some text in pdfs is extracted as figures and not as text. I was wondering why this is and if there are any settings that would get around this.

I am using the ExtractTextInfoFromPDFWithCustomTimeouts  python function from the adobe-dc-pdf-services-sdk-extract-python-sample package.

    This topic has been closed for replies.

    2 replies

    Joel Geraci
    Community Expert
    Community Expert
    June 9, 2022

    Extract uses AI to deconstruct the page so there are no settings and frankly because we just train the AI, we don't really know how it decides. We can just add more documents to the training so it can learn. Would you be comfortable sharing the PDF files with us? 

    Kyle Julé24692827
    Adobe Employee
    Adobe Employee
    June 3, 2022

    Hi there,

    You can read about the different element types that are extracted in this demo (Look under Summary of Element Types): 
    https://documentcloud.adobe.com/dc-visualizer-app/index.html

    According to the document in the demo, "Figures" are "Non-reflowable constructs like graphs, images, flowcharts".

    If there is some text in a graph or image, it would be extracted as a Figure, despite having what seems to be text. The following image is a good example in the afrorementioned Text Extract demo:



    Hope that helps. Let us know if you have any questions.


    Participant
    July 19, 2023

    So is there still no way to extract text from the figure output image? Love this API but this is a major limitation as a lot of documents have valuable text inside. Are you possibly working on computer vision to extract the text?