Skip to content

Extracting and Counting Individual Pictures using PDF Plumber #501

Answered by samkit-jain
nigelkiernan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nigelkiernan Appreciate your interest in the library. Request you to, if possible, attach the PDF (redacting any sensitive information) in question as it will help us debug the issue in a better way. Based on the information provided,

  1. In the first code, when creating the dataframe, you are passing a list of dicts and seeing 4 rows. In the second code, you are passing a list of list of dicts and hence, you are seeing only 1 entry which is a list. My guess would be that the list is containing 4 dicts in which case the result is expected and you might be confusing that single row entry with the list as a single image. If the list indeed contains a single dict then it could be a bug and …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@nigelkiernan
Comment options

@samkit-jain
Comment options

Answer selected by samkit-jain
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jsvine
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants