Mark text in image

Example requests & Code samples for GdPicture Toolkits.
Post Reply
FHA
Posts: 7
Joined: Sat Oct 02, 2021 4:44 am

Mark text in image

Post by FHA » Sun Feb 06, 2022 2:16 pm

I'm searching an example how to mark a text (which should be found within the image once or many times) within an image.
Must I convert the image to PDF to be able to mark the text?

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

Re: Mark text in image

Post by Hugo » Wed Feb 09, 2022 5:45 pm

Hi there,

Thank you for your question.

Could you be more specific as to what you wish to do please? Marking text is too vague and I would appreciate any screenshots you may have showing this please.
If this is on private documents you can contact us here:
https://orpalis.zendesk.com/hc/en-us/requests/new

Regards,
Hugo Cudd
Technical Support

FHA
Posts: 7
Joined: Sat Oct 02, 2021 4:44 am

Re: Mark text in image

Post by FHA » Fri Feb 11, 2022 11:56 am

For a PDF I extract the text and a screenshot of each page as an image (PNG).

If the user enters the word "Schaltfläche" I want to mark it in the PNG like this:
mark_text.png

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

Re: Mark text in image

Post by Hugo » Fri Mar 18, 2022 6:13 pm

Hi there,

My apologies for the delayed response.

GdPicture provides a solution to achieve this.

Images do not have searchable text therefore you need some of of getting this text despite it being an image.
Our OCR engine does just this.
You can get all of the text on your images and get the coordinates for each word/letter/block/paragraph and more.
You can then use our annotations to highlight such words.

If you need help doing this please let me know where. A good place to start would be to look here:
https://www.gdpicture.com/guides/gdpict ... thods.html

Let me know if you need anything else.

Regards,
Hugo Cudd
Technical Support

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest