rhsimplex/image-match

🎇 Quickly search over billions of images

Python

2,979

392 commits

updated Dec 6, 2022

See the code

README

NOTE: this repository is no longer maintained; PRs and issues will probably be ignored. If you are interested in taking over development/maintainership of image-match, please contact me at the email address in my public profile. Thank you!

PyPI PyPI Documentation Status codecov

image-match

image-match is a simple (now Python 3!) package for finding approximate image matches from a corpus. It is similar, for instance, to pHash, but includes a database backend that easily scales to billions of images and supports sustained high rates of image insertion: up to 10,000 images/s on our cluster!

PLEASE NOTE: This algorithm is intended to find nearly duplicate images -- think copyright violation detection. It is NOT intended to find images that are conceptually similar. For more explanation, see this issue or this video.

Based on the paper An image signature for any kind of image, Wong et al. There is an existing reference implementation which may be more suited to your needs.

The folks over at Pavlov have released an excellent containerized version of image-match for easy scaling and deployment.

Quick start

Install and setup image-match

Once you're up and running, read these two (short) sections of the documentation to get a feel for what image-match is capable of:

Image signatures

Storing and searching images

image-analysis
image-signatures
python
search

rhsimplex/image-match

🎇 Quickly search over billions of images

Python

2,979

392 commits

updated Dec 6, 2022

See the code

README

NOTE: this repository is no longer maintained; PRs and issues will probably be ignored. If you are interested in taking over development/maintainership of image-match, please contact me at the email address in my public profile. Thank you!

PyPI PyPI Documentation Status codecov

image-match

image-match is a simple (now Python 3!) package for finding approximate image matches from a corpus. It is similar, for instance, to pHash, but includes a database backend that easily scales to billions of images and supports sustained high rates of image insertion: up to 10,000 images/s on our cluster!

PLEASE NOTE: This algorithm is intended to find nearly duplicate images -- think copyright violation detection. It is NOT intended to find images that are conceptually similar. For more explanation, see this issue or this video.

Based on the paper An image signature for any kind of image, Wong et al. There is an existing reference implementation which may be more suited to your needs.

The folks over at Pavlov have released an excellent containerized version of image-match for easy scaling and deployment.

Quick start

Install and setup image-match

Once you're up and running, read these two (short) sections of the documentation to get a feel for what image-match is capable of:

Image signatures

Storing and searching images

image-analysis
image-signatures
python
search

Significant stargazers

Guillaume Gomez

1,662 followers · starred Mar 2016

Steve Cosman

174 followers · starred Mar 2016

Chengzhong Wu

608 followers · starred Mar 2016

César

32 followers · starred Jun 2020