looks-same icon indicating copy to clipboard operation
looks-same copied to clipboard

Is it possible to save image descriptors to database and compare?

Open pluzmedia opened this issue 5 years ago • 2 comments

Is it possible to save image descriptors to database and compare new images with old ones?. Any idea would be helpful.

pluzmedia avatar Jun 29 '20 18:06 pluzmedia

Hello.

Can you describe your problem in more details? I don't understand why you want save file descriptor to database. File descriptor - it is uniq id to the file in some running process. If the file or process closes, the file descriptor gets freed and you can't do with it number anything.

Currently looks-same can compare images only by image paths on file system. So you can save image somewhere on your fs and write path to it in database. Or you can save binary data of the image and before compare save it to the file in file system.

DudaGod avatar Jun 30 '20 20:06 DudaGod

@DudaGod lets say we need to compare a images using elasticsearch, and the search done by elasticsearch

hamdallah90 avatar Dec 26 '23 20:12 hamdallah90