Skip to content

konvica/spot-img-diff

Repository files navigation

spot-img-diff

Very primitive demo how to compare 2 screenshots of webpage. These screenshots can be misaligned especially on y-axis due to scrolling up/down on websites.

This demo can:

  • align sreenshots in any direction using homography based on opencv feature matching (however this can sometime produce noise)
  • align screenshots only in vertical direction using calculated median shift in matched keypoints (this limits the noise to absolute minimum)
  • detect difference between aligned webpages and visualize bounding box (using closing operation in horizontal direction ensures the bounding box captures the whole row of difference)
  • Experimental: Read and compare text difference within detected bounding box

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published