Skip to content

filvyb/dhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dhash

dhash is a Nim library and CLI program that generates a perceptual hash for a given image based on Neal Krawetz’s blog post on dHash algorithm

Usage

As library

import imageman
import bigints
import dhash

let image1 = get_img("path/to/image")
let hash1 = dhash_int(image1)

As a binary

dhash path/to/image

About

Implementation of dHash algorithm in Nim

Topics

Resources

License

Stars

Watchers

Forks

Languages