I would not suggest to useusing image comparison because exist much more fastfaster and easiest way to get precise results. AutomotionAutomation framework is a powerful tool for visual testing. It works using calculation, without cssCSS or image comparison.
Works super fast https://github.com/ITArray/Automotion - herehere is on GitHubon GitHub with examples of how to use it.