Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pluzmedia opened this issue Jun 29, 2020 · 2 comments
Open

Comments

@pluzmedia
Copy link

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

@DudaGod
Copy link
Member

DudaGod commented Jun 30, 2020

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.

@hamdallah90
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants