Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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?