1PUZZLE-DIFF(1)            BSD General Commands Manual           PUZZLE-DIFF(1)
2

NAME

4     puzzle-diff - Compare pictures with libpuzzle
5

SYNOPSIS

7     [-b <contrast barrier for cropping] [-c] [-C <max cropping ratio>] [-e]
8     [-E <similarity threshold>] [-h] [-H <max height>] [-l <lambdas>] [-n
9     <noise cutoff>] [-p <p ratio>] [-t] [-W <max width>] <file 1> <file 2>
10

DESCRIPTION

12     puzzle-diff compares two pictures and outputs the normalized distance.
13
14     Try puzzle-diff -h for more info.
15

EXAMPLES

17     Output distance between two images:
18
19     $ puzzle-diff pic-a-0.jpg pics-a-1.jpg 0.102286
20
21     Compare two images, exit with 10 if they look the same, exit with 20 if
22     they don't (may be useful for scripts):
23
24     $ puzzle-diff -e pic-a-0.jpg pics-a-1.jpg $ echo $?  10
25
26     Compute distance, without cropping and with computing the average intenā€
27     sity of the whole blocks:
28
29     $ puzzle-diff -p 1.0 -c pic-a-0.jpg pic-a-1.jpg 0.0523151
30

SEE ALSO

32     libpuzzle(3) puzzle_set(3)
33
34                                 June 20, 2019
Impressum