Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can I use cv.CreateMat(2, 1, cv.CV_32FC1) in OpenCV 3.0.0?

Hi, everyone. I am a OpenCV newbie. Can I use cv.CreateMat(2, 1, cv.CV_32FC1) in OpenCV 3.0.0? If not, what is a good alternative?

Also, I want to do the camera calibration by using OpenCV. Referring to others' code, there is a function I used, but there is an error occuring.

retcode, cor = cv2.findChessboardCorners(image[i], patternSize, cv2.CALIB_CB_ADAPTIVE_THRESH | cv2.CALIB_CB_FILTER_QUADS)

cv2.error:2494: error: (-206) Unrecognized or unsupported array type in function cvGetMat

Any body can help me with this problem?

Thanks a lot!

click to hide/show revision 2
retagged

updated 2015-06-23 11:44:30 -0600

berak gravatar image

Can I use cv.CreateMat(2, 1, cv.CV_32FC1) in OpenCV 3.0.0?

Hi, everyone. I am a OpenCV newbie. Can I use cv.CreateMat(2, 1, cv.CV_32FC1) in OpenCV 3.0.0? If not, what is a good alternative?

Also, I want to do the camera calibration by using OpenCV. Referring to others' code, there is a function I used, but there is an error occuring.

retcode, cor = cv2.findChessboardCorners(image[i], patternSize, cv2.CALIB_CB_ADAPTIVE_THRESH | cv2.CALIB_CB_FILTER_QUADS)

cv2.error:2494: error: (-206) Unrecognized or unsupported array type in function cvGetMat

Any body can help me with this problem?

Thanks a lot!

Can I use cv.CreateMat(2, 1, cv.CV_32FC1) in OpenCV 3.0.0?

Hi, everyone. I am a OpenCV newbie. Can I use cv.CreateMat(2, 1, cv.CV_32FC1) in OpenCV 3.0.0? If not, what is a good alternative?

Also, I want to do the camera calibration by using OpenCV. Referring to others' code, there is a function I used, but there is an error occuring.

retcode, cor = cv2.findChessboardCorners(image[i], patternSize, cv2.CALIB_CB_ADAPTIVE_THRESH | cv2.CALIB_CB_FILTER_QUADS)

cv2.error:2494: error: (-206) Unrecognized or unsupported array type in function cvGetMat

Any body can help me with this problem?

Thanks a lot!

Update~~~~~~~~~~~~~image description