Camera calibration sucessfully ported.
This commit is contained in:
@@ -319,7 +319,10 @@ public class MainActivity extends AndroidApplication implements OSFunctionalityP
|
||||
tFrame = BitmapFactory.decodeByteArray(frame, 0, frame.length);
|
||||
Utils.bitmapToMat(tFrame, inImg);
|
||||
|
||||
calibrateCameraParameters(cameraMatrix.getNativeObjAddr(), distortionCoeffs.getNativeObjAddr(), inImg.getNativeObjAddr(), calibrationPoints);
|
||||
double error = calibrateCameraParameters(cameraMatrix.getNativeObjAddr(), distortionCoeffs.getNativeObjAddr(), inImg.getNativeObjAddr(), calibrationPoints);
|
||||
|
||||
Gdx.app.log(TAG, CLASS_NAME + "calibrateCamera(): calibrateCameraParameters retured " + Double.toString(error));
|
||||
|
||||
cameraCalibrated = true;
|
||||
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user