This small script computes perceptual hashes for three example images and prints similarity percentages.
Quick start (Windows / PowerShell):
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
python app.py
If you see errors about missing images, ensure the images/
directory is next to app.py
and contains 1.jpg
, add-a-line.png
, and whatsapp.jpg
.