2016-11-07 233 views
0

我已經運行的OpenCV程序與cvCalibrateCamera2一些問題。OpenCV的錯誤與cvCalibrateCamera2

這已通過here 和Oreilly「Learning OpenCV」示例ch11 ex11(可從here下載的代碼)的示例進行了嘗試。錯誤是一樣的。該代碼通過cvFindChessboardCornerscvDrawChessboardCorners等運行沒有問題,他們只在cvCalibrateCamera2以下信息失敗:

OpenCV Error: Assertion failed (_dst.fixedType()) in convertPointsHomogeneous, file /root/opencv-3.1.0/modules/calib3d/src/fundam.cpp, line 1034 
terminate called after throwing an instance of 'cv::Exception' 
    what(): /root/opencv-3.1.0/modules/calib3d/src/fundam.cpp:1034: error: (-215) _dst.fixedType() in function convertPointsHomogeneous 

你能告訴是什麼問題,或指向方向在那裏它可能是?

回答

0

調查到的OpenCV 3.1源代碼後,我認爲這個問題是OpenCV的本身,因爲錯誤來自創建和圖書館內傳來傳去的變量。我嘗試了較低版本的OpenCV(2.4.13),並解決了這個問題。