Layout Testing with OpenCV

How can OpenCV can used for performing Layout Testing?

welcome. can you elaborate on that?