szanni

findimage

Cropped, resized or re-encoded an image but do not know where the original source is anymore? findimage lets you find the original high resolution image by searching your file system.

Usage:

findimage path object

For example, to search for the original image of thumbnail.jpg in /home/user and sort the result by highest match first, run:

findimage /home/user thumbnail.jpg | sort -r

Possible output:

1.00000 0:0 /home/user/thumbnail.jpg
0.99017 0:0 /home/user/test1.png
0.90545 142:169 /home/user/test2.png

The output format is: correlation offset path

Download

Dependencies

  • opencv 4

Build Instructions

make
make install # DESTDIR= PREFIX=/usr/local

License

BSD 2-Clause license, see the LICENSE file for more details.