Versions in this module Expand all Collapse all v0 v0.2.0 Nov 15, 2026 Changes in this version + const FloatDim type Quality + func Float(img image.Image) ([FloatDim]float32, Quality, error) v0.1.0 Nov 15, 2026 Changes in this version + var ErrEmpty = errors.New("pdq: empty image") + var ErrMalformed = errors.New("pdq: malformed hash") + func Sum(img image.Image) (Hash, Quality, error) + func SumDihedral(img image.Image) (Dihedral, Quality, error) + type Dihedral struct + FlipMinus1 Hash + FlipPlus1 Hash + FlipX Hash + FlipY Hash + Original Hash + Rotate180 Hash + Rotate270 Hash + Rotate90 Hash + type Hash [16]uint16 + func ParseHash(s string) (Hash, error) + func (h Hash) Distance(o Hash) int + func (h Hash) Norm() int + func (h Hash) String() string + type Quality int