I would like to calibrate the camera of my tablet for an Android application using OpenCV 3.0.0, but I have an error.
- I import a camera calibration sample
- I took ~ 10 chessboard images
- I started calibration, and suddenly the applications crashed with this error:
Throws: CvException [org.opencv.core.CvException: cv :: Exception: /home/maksim/workspace/android-pack/opencv/modules/calib3d/src/fisheye.cpp: 77: error: (- 215) _tvec. total () * _tvec.channels () == 3 && & (_tvec.depth () == CV_32F || _tvec.depth () == CV_64F) in the void cv :: fisheye :: projectPoints (cv :: InputArray, cv :: OutputArray, cv :: InputArray, cv :: InputArray, cv :: InputArray, cv :: InputArray, double, cv :: OutputArray)
Any ideas? I am using Android version 1.5. If you have an alternative, I will take it. Thanks in advance.
source
share