layout-parser
layout-parser copied to clipboard
Is there any way to preserve heading and content together.
Hi,
Thanks for your library. I have below screenshot with headers and text, is there any way to get the heading together with text.

Hi @SAIVENKATARAJU !
Could you please provide more context to your questions?
- Is it a PDF or just scanned document?
- What do you mean by "get the heading together with text"? You mean you'd like to get structured data like the following?
[ { "heading": "..", "text": "..." }, ... ]
Hi @lolipopshock Thanks for your reply. My documents are PDF's. and yes I just want like you mentioned above.
@SAIVENKATARAJU I have the same case :) Somebody solve this problem ? @lolipopshock