Versions in this module Expand all Collapse all v0 v0.2.0 May 8, 2018 v0.1.0 May 2, 2018 Changes in this version + type ImageHash struct + func AverageHash(img image.Image) (*ImageHash, error) + func DifferenceHash(img image.Image) (*ImageHash, error) + func ImageHashFromString(s string) (*ImageHash, error) + func NewImageHash(hash uint64, kind Kind) *ImageHash + func PerceptionHash(img image.Image) (*ImageHash, error) + func (h *ImageHash) Distance(other *ImageHash) (int, error) + func (h *ImageHash) GetHash() uint64 + func (h *ImageHash) GetKind() Kind + func (h *ImageHash) Set(idx int) + func (h *ImageHash) ToString() string + type Kind int + const AHash + const DHash + const PHash + const Unknown + const WHash