Top Level Namespace
Defined Under Namespace
Modules: Phashion
Instance Method Summary collapse
-
#rbconfig ⇒ Object
Provides a clean and simple API to detect duplicate image files using the pHash library under the covers.
Instance Method Details
#rbconfig ⇒ Object
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);
9 |
# File 'lib/phashion.rb', line 9 require 'rbconfig' |