Discover Packages
github.com/Erdk/imgdedup
command
module
Version:
v0.0.0-...-6bb422a
Opens a new window with list of versions in this module.
Published: Mar 10, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
imgdedup
Introduction
Simple program which scans directory with images (jpg, png) and computes their histograms. Next compares their Manhattan distance and shows pairs which distance falls below treshold, indicating potential duplicates.
How to build?
$ git clone https://github.com/Erdk/imgdedup && cd imgdedup
$ go build .
How to use?
$ ./imgdedup -d $DIR [-v] [-t $NUM] [-d $DISTANCE_FUNCTION]
-d
directory with images to check, required
-v
verbose output
-e $NUM
set tolerance to $NUM, distance below this value indicates that images are similar, default: 100000
-t $DISTANCE_FUNCTION
set distance function to one of the following:
manhattan (default),
chisquare,
correlation,
intersection,
bhattacharyya
-p
basic profiling support
TODO
More comparison algorithms than Manhatan,
Instead of relying on hardcoded distance threshold allow to provide one,
Tests,
Http frontend,
Recursively search directory,
Allow specyfying multiple directories
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.