The pictures have 0.13698 similarity:

This program consumes a csv file of image pairs and conducts a comparison using OpenCV. Similarity ranges from 0 - 1 with 0 being the same image.
(using python 2.7.14)
After cloning the repository and opening the directory in a terminal, run the below commands
Pipenv: is used to control the project dependencies and python environments
sudo pip install pipenvCheck to see if pipenv is installed correctly
pipenvInstall project dependencies using python 2
pipenv install --twoRun the python environment
pipenv shellRun the project unittests. The first time they will fail since the test data is being created with image paths specific to your system. Running this command a second time will allow all tests to pass.
python -m unittest discoverRun the command and follow the instructions:
python CompareImages.pyThe program will ask for the path of an input and output file and build a results file. The resutls file contains the similarity of each image pair, as well as the elapsed computation time in seconds for each image.
Install pyinstaller
sudo pip install pyinstallerThis will create an executable file depending on the OS being used. (since I don't have a windows machine I can only create mac executable files)
pyinstaller CompareImages.specThe executable file will be located in the 'dist/image_comparison/' folder.
The quality of the comparison is dependent on many factors. Image size and resolution is very important since high res photos will have better feature detection.
The programs uses the open source ORB algorithm for feature detection, however there are other non-free algorithms that exist such as SIFT and SURF. Other alternatives can always be explored.
Finally it would be nice to add a littel GUI for importing csv files into and out of the program.