Opencv The result data of function matchshape is inf

I just want know about reason of inf data type… and how to treat inf data type in Opencv