I am working with a pattern recognition logic. I tried all possible approaches but none of them working.
I tried converting the pixels to boxes and polar bins and then find Levenshtein distance, Cosine Distance etc.. But they give results when database records are a few. When database values are at range of 1000s, they don't give accurate results.
Any hint is much appreciated.
Input:
Matched Output:

