Find repeating patterns of varying sizes in a image
retained text
I have an image which has say many apples, oranges and bananas, could be anywhereand of any size in the image. I don't know before hand what to expect in an image, it could be something that we never saw before and of any size. This can't be a ML problem as this has to happen offline and training is not possible. What is the best way to approach this problem? Currently I'm trying some correlation by selecting random pieces of the image, but this fails to find all/sometimes anything. OpenAI suggested using scipy's match\_template, but this is not working out well because I don't know what to search against. Edit: fuzzy matching is good too, doesn't have to be a exact match.
document fetched 2026-10-13 00:23 · canonical https://reddit.com/r/computervision/comments/1x3zlzp/find_repeating_patterns_of_varying_sizes_in_a