Find similar images in a dataset
Project description
Simages :monkey_face: :monkey_face:
Find similar images within a dataset. Useful for finding duplicates images.
Getting Started
pip install simages
or install from source:
git clone https://github.com/justinshenk/simages
cd simages
pip install .
How to use
from simages import Embeddings
# X is an n x m numpy array
images = Embeddings(data)
pairs, distances = embedding.show_duplicates(n=10)
You can specify how many pairs you want to identify with n
.
How it works
Simages uses a convolutional autoencoder with PyTorch and compares the latent representations with closely.
Example
Output:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simages-19.0.0.dev0.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for simages-19.0.0.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d373cc3c6c26d88a5656e3cdf38a9ed7ac92e89ec3f0a3e6f987b9cb32230f6 |
|
MD5 | b29c32a4dd58fd1993ca7042007ffc6d |
|
BLAKE2b-256 | 79cc91d0cb1c9dc2940dcc15806029b78051e6554dcba38ef30e844ccef61a8f |