Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageHash ¶
type ImageHash struct {
// contains filtered or unexported fields
}
ImageHash is a struct of hash computation.
func AverageHash ¶
AverageHash fuction returns a hash computation of average hash. Implementation follows http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html
func DifferenceHash ¶
DifferenceHash function returns a hash computation of difference hash. Implementation follows http://www.hackerfactor.com/blog/?/archives/529-Kind-of-Like-That.html
func ImageHashFromString ¶
ImageHashFromString returns an image hash from a hex representation
func NewImageHash ¶
NewImageHash function creates a new image hash.
func PerceptionHash ¶
PerceptionHash function returns a hash computation of phash. Implementation follows http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html