Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Found the answer on another forum:

http://answers.opencv.org/question/341/python-correctmatches/?answer=402#post-id-402

It was pretty simple, just had to reformat the arrays.

pt1 = np.reshape(pt1,(1,n,2))
pt2 = np.reshape(pt2,(1,n,2))