surround your processing code with a try-catch block, and log the error to the console, like
try:
(your code)
catch Exception ex:
ex.printStackTrace(); //print it out so we see it in the logs, but keep running code
|
Calib3d.solvePnP(CameraConstants.getObjectPoints(), CameraConstants.getImgPoint(VisionTargets), CameraConstants.getCameraMatrix(), CameraConstants.getDistCoeffs(), rvec, tvec, true); |