Commit c1dec72f authored by Alexander Alekhin's avatar Alexander Alekhin

java: force 64F in solvePnP test

parent aa5caf83
...@@ -499,7 +499,7 @@ public class Calib3dTest extends OpenCVTestCase { ...@@ -499,7 +499,7 @@ public class Calib3dTest extends OpenCVTestCase {
} }
public void testSolvePnPListOfPoint3ListOfPointMatMatMatMat() { public void testSolvePnPListOfPoint3ListOfPointMatMatMatMat() {
Mat intrinsics = Mat.eye(3, 3, CvType.CV_32F); Mat intrinsics = Mat.eye(3, 3, CvType.CV_64F);
intrinsics.put(0, 0, 400); intrinsics.put(0, 0, 400);
intrinsics.put(1, 1, 400); intrinsics.put(1, 1, 400);
intrinsics.put(0, 2, 640 / 2); intrinsics.put(0, 2, 640 / 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment