#πŸ”’ How to extract figures with label from image

15 messages Β· Page 1 of 1 (latest)

frozen geyser
#

Here is the image, i have loke wise alot of image, i want to exract figures with labels

digital marshBOT
#

@frozen geyser

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

hallow fractal
#

Is it a pdf?

frozen geyser
#

Yes its pdf but its scannable pdf

hallow fractal
#

if it is a textual pdf, you might want to parse it using a library (which library is your choice, pdf parsing is kinda cluttered space imo). If you are able to extract XML then you can use XPATH to narrow down on the image and text. If it is in text/string form then you will have to use regex ig

hallow fractal
#

Ah then it's hard

#

If it's less than a couple of hours work, might as well do it manually

#

If you do find a better way, please share it. I faced a similar problem a couple of months ago

frozen geyser
#

Ya its complex because we can fix any area or bounding box, but i was surfing on it for automatic solution

#

Can't *

digital marshBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.