iuliaturc / detextify

Remove text from AI-generated images
MIT License
263 stars 21 forks source link

Merge nearby detected boxes. Add unit tests. #2

Closed iuliaturc closed 1 year ago

iuliaturc commented 1 year ago

Here's an example of why this is useful.

green = boxes detected by Azure blue = merge of the detected boxes red = manual annotation

After merging the boxes, it's a lot easier to compare blue against red. mj4

mihail911 commented 1 year ago

hmmm i honestly could see it going multiple ways. namely what is the manual annotation also has multiple boxes? then in principle you could use different heuristics to compare them.