K
K
kvkolesnikoff2014-12-22 13:55:44
Python
kvkolesnikoff, 2014-12-22 13:55:44

Python library or online image comparison service?

Good afternoon!
There is a service to which you need to add an image search (like google image search, but for our purposes):
- The user uploads an image.
- The system looks for a similar picture in the database.
- The user gets a list of similar images.
Requirements:
- The library must be free
- Preferably the library, not the online service API.
- I would like to be able to refine the "quality of comparison".

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
TomasHuk, 2014-12-23
@TomasHuk

See more here and here . These articles have been very helpful to me. The algorithm is simple. You can quickly write your own program. Using the Hamming distance, you can control the "similarity" of images.

S
Sergey Novikov, 2014-12-22
@BOOMER_74

The first thing that came to mind was PIL and numpy. Using PIL, you can simply compare images, and finish with numpy (convert to an array of data and write a comparison algorithm). Here is the first thing I found on the subject:
You can also find the ImageMagick program in the answers . Only you do not need to compare them, but you need to look for similar ones, and this is a more difficult task.

D
devel787, 2014-12-24
@devel787

I'll add links.
Articles:
Hobbits and Histograms – A How-To Guide to Buildin...
Video:
1024x1024, Episode 1
+
One screencast refactoring

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question