This python script shows the degree of matching of shapes.
sudo apt-get install python3
sudo apt-get install python3-pip
pip3 install opencv-python
sudo apt-get install python3-tk
A dialog box appears with option to select images 1 and 2. Then clicking proceed will display the degree of similarity of the shapes in the two selected images.
Github: invigorzz313