findimagedupes is a common command-line application for finding similar or identical images. You can install it by executing the following:

sudo apt-get install findimagedupes

You could also set up an OpenCV script using Python, but that would take a bit of studying.