2015-10-27 03:26:23 -0600 | answered a question | use opencv to calibrate camera problem I met the same issue, too. In my case, there is a bug to convert vector< vector < Point3f > > to InputArrayOfArrays. You may run the following sample code to check it in your system. Normally, it should print out In my NG case, it prints out random numbers. I guess that the opencv lib is not fit with my system(win7 x64 + vs2012). After rebuild opencv myself, it may work now. You may google keyword "Win7x64 VS2012 OpenCV CMake TBB". |
2015-10-27 03:26:22 -0600 | answered a question | Assertion Failed (ni>=0) in calibration.cpp I met the same issue, too. In my case, there is a bug to convert vector< vector < Point3f > > to InputArrayOfArrays. You may run the following sample code to check it in your system. Normally, it should print out In my NG case, it prints out random numbers. I guess that the opencv lib is not fit with my system(win7 x64 + vs2012). After rebuild opencv myself, it may work now. You may google keyword "Win7x64 VS2012 OpenCV CMake TBB". |