I have an automated visual regression test harness for my web app. It takes baseline and change snapshots using puppeteer and compares them using pixelmatch. If I change the height of an element on the screen however, it pushes everything else on the page down slightly and pixelmatch identifies it as a difference.
I'm wondering if there are any models that can identify visual differences between two very similar images but is robust enough to ignore "slight" layout changes.