Python Compare Two Images
OpenCV and Python versions: This example will run on Python 2.7/Python 3.4+ and OpenCV 4.1.X/OpenCV 3.0+.
conda create -n env python=3.6
conda activate env
pip install opencv-python==4.1.0.25
pip install scikit-image
pip install matplotlib
python compare.py
pythonw compare.py
https://www.pyimagesearch.com/2014/09/15/python-compare-two-images/