Skip to main content

Reverse Image Search

Project description

Reverse Image Search

Forgot where you left the original of that beautiful photo? If you still have the thumbnail, you can try to find it using Reverse Image Search!

Installation

pip install reverse-image-search

Usage

$ reverse_image_search images/hills-2836301_1920_thumbnail.jpg images/
Finding similar images...
- to: images/hills-2836301_1920_thumbnail.jpg
- in: images
- filetypes: ['.jpg', '.jpeg']
- threshold: 0.9

Matches:
filepath                                 similarity
---------------------------------------  ------------
images/hills-2836301_1920_thumbnail.jpg  100%
images/hills-2836301_1920.jpg            99%

How does it work?

  1. load the image you want to search for.
  2. Walk through your files at a given path.
  3. Compares the structural similarity between images using Scikit-Image.
  4. Print the results in a table when the similarity is above a certain threshold.

Credits

Image from https://pixabay.com/photos/hills-india-nature-kodaikanal-2836301/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reverse-image-search-0.2.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

reverse_image_search-0.2.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page