Module: Phashion

Defined in:
lib/phashion.rb

Overview

Provides a clean and simple API to detect duplicate image files using the pHash library under the covers.

The C API: int ph_dct_imagehash(const char *file, ulong64 &hash); int ph_hamming_distance(ulong64 hasha, ulong64 hashb);

Defined Under Namespace

Classes: Image

Constant Summary collapse

VERSION =
'1.0.2'