Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python findFundamentalMat

I keep getting the error:

Traceback (most recent call last): File "OpenCVTest.py", line 73, in <module> (retval,mask) = cv.findFundamentalMat(c1,c2) cv2.error: /tmp/homebrew-opencv-2.4.2-OdWH/OpenCV-2.4.2/modules/calib3d/src/fundam.cpp:1103: error: (-215) npoints >= 0 && points2.checkVector(2) == npoints && points1.type() == points2.type() in function findFundamentalMat

Where c1 and c2 are 8 by 2 ndarrays.

It works in cv, but not in cv2. Is this a bug or am I doing something wrong?

I am using OpenCV 2.4.2 in Python 2.7.3.

Thanks!

click to hide/show revision 2
No.2 Revision

Python findFundamentalMat

I keep getting the error:

Traceback (most recent call last):
  File "OpenCVTest.py", line 73, in <module>
    (retval,mask) = cv.findFundamentalMat(c1,c2)
cv2.error: /tmp/homebrew-opencv-2.4.2-OdWH/OpenCV-2.4.2/modules/calib3d/src/fundam.cpp:1103: error: (-215) npoints >= 0 && points2.checkVector(2) == npoints && points1.type() == points2.type() in function findFundamentalMat

findFundamentalMat

Where c1 and c2 are 8 by 2 ndarrays.

It works in cv, but not in cv2. Is this a bug or am I doing something wrong?

I am using OpenCV 2.4.2 in Python 2.7.3.

Thanks!