Calculate Hamming Distance in SQLite

254 Views Asked by At

I wanted to compare multiple images and retrieve the most similar image using hamming distance. The only problem is SQLite which is the most commonly available database in mobile platform doesn't support those important function needed by hamming distance like bitcount.

Similar question is posted 2 years ago, but it doesn't seem to have any workaround or does SQLite supported those function currently.

Does anyone know how to work around this problem or have a better idea on how to do image comparison in mobile platform without blowing up the CPU and storage?

Thanks.

0

There are 0 best solutions below