I want to make json with the help of page.extract_words and im.draw_rects #546
Unanswered
Faizan-Saifullah
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @Faizan-Saifullah Appreciate your interest in the library. To help you further, could you please share the JSON structure format in which you want to store the data? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have extracted words from a pdf page and i have been able to draw rectangles using im.draw_rects on those extracted words. Now i want to make json file that contains all this information of page.extract_words such that when i open in labelme , it shows same rects as im.draw_rects .
Here , is my code:
with pdfplumber.open(r'empty_test.pdf') as pdf:
Beta Was this translation helpful? Give feedback.
All reactions