Create a virtual environment, active it, and then install the requirements:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Aligns 2 images, only rotates them and scales them. It does not translate them. Preparation from 'Wapper' or computer vision comparison
Uses OpenCV Stitcher to stich images together (like a panorama function)
This example tries to find mismatches in the 2 images First it aligns the images using align.py
Divide images into blocks, and use OpenAI CLIP (clip-ViT-B-32) to calculate the similarity of the sections. Overlay in red the sections that are not similar with a higher opacity.
Project to expose computer vision tools using a restfull interface.
To compare images: https://stackoverflow.com/questions/11541154/checking-images-for-similarity-with-opencv