Answer the question
In order to leave comments, you need to log in
Is there a ready/almost ready solution for image search (content-based image retrieval)?
Good afternoon.
Interested in the topic of image search, can someone advise a solution.
The server has an array of images, 30k - 50k pictures.
A photo/drawing is sent to the server via api.
You need to figure out how to quickly compare and find the most suitable option from the images stored on the server.
From what I dug up:
Soil + Lire
Elasticsearch + Image Plugin (one of the forks)
In both cases, there is enough trouble with installation and configuration and integration into a test project.
Ideally, you need some kind of library that is easy to install on the server and that can scan local images, create an index, and search-compare the transmitted image on it.
Any ideas?
Answer the question
In order to leave comments, you need to log in
google phash. There is an extension for php, I wrote in pure php. There is an implementation in java. You calculate the hashes, save them in the database, then calculate the Hamming distance from them and take where it is less, this is the most suitable picture.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question