Documentation ¶
Overview ¶
Package imagehash processes a Perception hash and Average hash from an image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrImageObject = errors.New("image object can not be nil")
)
Variables
Functions ¶
Types ¶
type PHash256 ¶
type PHash256 [4]uint64
PHash256 is a 256bit Perception Hash
func NewPHash256 ¶
NewPHash256 is a Perception Hash function returns a 256bit hash computation Implementation follows: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html Optimized for performance and reduced memory footprint.
type PHash64 ¶
type PHash64 uint64
PHash64 is a 64bit Perception Hash
func NewPHash64 ¶
NewPHash64 is a Perception Hash function returns a hash computation of phash. Implementation follows: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html Optimized for performance and reduced memory footprint.
Directories ¶
Path | Synopsis |
---|---|
Package transforms provides the transformations for imagehash
|
Package transforms provides the transformations for imagehash |
Click to show internal directories.
Click to hide internal directories.