We all played this game in childhood. Well, I was very bad at it, so I though let's create a python script which will do that for me.
Well, unfortunately the program is equally bad ;~;
The modules it requires are:
- Pillow: Imaging library
- OpenCV2
- Matplotlib
- Imutils
- Skimage
- Numpy
You can install these modules manually or use this command
$ pip3 install -r requirements.txt
See help
$ python main.py -h
usage: main.py [-h] --img1 IMG1 --img2 IMG2
Will spot the differences between two images and circle them.
optional arguments:
-h, --help show this help message and exit
--img1 IMG1 the path to image 1
--img2 IMG2 the path to image 2
Pass the paths of the images as arguments
$ python3 main.py --img1 ./test1/img1.png --img2 ./test1/img2.png
It will open up a pyplot window which will show the differences by encircling them.
Something like this
And this
To Do..