Skip to content
Discussion options

You must be logged in to vote

The bot is not wrong, but there is a simpler solution if you're using ConversionResult: you can get a list of TableItem, which has a ProvenanceItem with both bbox and page number:
`
converter = DocumentConverter()
result = converter.convert(source)

for table in result.document.tables:
page_num = table.prov[0].page_no
bbox = table.prov[0].bbox
`

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@alex-gdv
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by alex-gdv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant