Skip to content

Calculates how much percentage of a hollow shape does a solid image correctly fit/resemble. Uses OpenCV

Notifications You must be signed in to change notification settings

PaarthB/Image-Similarity-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image-Similarity-Checker

Python CLI App to check how much percentage of a hollow shape does a solid image correctly fit/resemble.

  • Uses Python 3.x, OpenCV 3 for python (import cv2) and ImageMagick
  • The hollow image and the solid image have same shapes, but can be of different sizes and orientation. The program takes care of that by resizing and de-skewing and also removes noise in both the images if any.

Usage

Firstly logon to a OpenCV environment:

workon cv (only tried on ubuntu)

Next, run the program, keeping the image files (both noise and hollow ones) in the same directory as the program:

python3 imageComparator.py (for Ubuntu)
python imageComparator.py (for Windows)

About

Calculates how much percentage of a hollow shape does a solid image correctly fit/resemble. Uses OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages