Skip to content

Proof of concept code for using the Structural Similarity Index Measurement (SSIM) for comparing 2 websites.

License

Notifications You must be signed in to change notification settings

f8al/site_compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

site_compare

Proof of concept code for using the Structural Similarity Index Measurement (SSIM) for comparing 2 websites.

code takes 2 arguments, '-f' and '-s', which are the domains to be compared. This PoC will then use the selenuium webdriver for Chrome (chromedriver), to take screenshots of the 2 domains. The PoC will then use the SSIM equation provided in skimage.metrics to generate a score of the similarity between the 2 sites.

If the user specifies the '-S' or '--show' the PoC will display the original captured images, and also display images of the "threshold" difference image, as well as the "contours" image, which is an image that is highlighted to by finding countours to find regions of diferences between the 2 sites, with the diferences outlined in a rectangular bounding box.

About

Proof of concept code for using the Structural Similarity Index Measurement (SSIM) for comparing 2 websites.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages