phash

package module
v0.0.0-...-4bddc29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2018 License: GPL-3.0 Imports: 2 Imported by: 2

README

This repository has migrated to gitlab.com/opennota/phash.

Documentation

Overview

Package phash is a simple wrapper around the pHash library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HammingDistance

func HammingDistance(h1, h2 uint64) int

HammingDistance returns the Hamming distance between the two perceptual hashes.

func ImageHashDCT

func ImageHashDCT(fn string) (uint64, error)

ImageHashDCT returns the perceptual hash of the image file fn.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL