GroundingDINO icon indicating copy to clipboard operation
GroundingDINO copied to clipboard

Possible to detect specific text in an image, like a name?

Open rxjx opened this issue 5 months ago • 1 comments

I'm trying to detect specific text in an image but can't get it to work. I have a list of names that I'd like to detect in images. I specify them as "Name1. Name2. Name3." but that didn't work. I then tried "'Name1'. 'Name2'. 'Name 3'." but that didn't work either. Is there a way to specify that the text needs to be matched exactly and not the semantic meaning?

rxjx avatar Feb 01 '24 19:02 rxjx

I am guessing it won't be able to do this. You'll have to fine-tune/retrain it for this task I guess. One thing you can try though is to put in a prompt like this - "Text on [where the name is in the image]".

parnerka avatar Feb 04 '24 07:02 parnerka