0

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.

Community
  • 1
  • 1
  • Why don't you load it from DB and process it in Java? Images shouldn't be stored in DB anyway – juergen d Jan 15 '17 at 13:20
  • The DB will just store the hash string of the image, not the image itself. The number is too huge to load everything on memory and do the comparison. – Ooi Keng Siang Jan 15 '17 at 23:36

0 Answers0