Skip to main content
Participant
May 27, 2022 11:55 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Joel Geraci
    Community Expert
    Community Expert
    Jun 9, 2022 5:49 PM UTC

    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? 

    Translate
    Kyle Julé24692827
    Adobe Employee
    Adobe Employee
    Jun 3, 2022 4:18 PM UTC

    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.


    Translate
    Participant
    Jul 19, 2023 6:49 PM UTC

    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?

    Translate