1 | initial version |
findHomography expects srcPoints/dstPoints (points_A/points_B) to be new cv.Mat(3,3,cv.CV_32F)
The input arrays should be 2D or 3D point sets in function 'findHomography'.
warpPerspective(image_B_gray, dst, h, new cv.Size(rows,cols)) expects M (or h) to be a 3x3 transform matrix
(M0.type() == CV_32F || M0.type() == CV_64F) && M0.rows == 3 && M0.cols == 3 in function 'warpPerspective'*