How to search by image in a database of images?

Viewed 36

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:

enter image description here

Matched Output:

enter image description here

1 Answers

For each matched output (_mo), create different inputs (_in), i.e., different ways a _mo can be referenced.

Keep a map of the _in --> _mo

Now for a given input from user, compute the nearest _in and simultaneously get _mo from the above map.

For similarity calculation, use deep learning approaches.

Related