Ask Your Question

Revision history [back]

First I use opencv-3.2.0-dev and I don't think you use same version. I cannot compiled this line using VS 2015 :

params->doCornerRefinement = false;

I changed it in

params->cornerRefinementMethod = 0;

with this line I found same results. But now If write :

params->cornerRefinementMethod = cv::aruco::CORNER_REFINE_CONTOUR;

Axis is http://answers.opencv.org/upfiles/14939087994124589.png for both images

First I use opencv-3.2.0-dev and I don't think you use same version. I cannot compiled this line using VS 2015 :

params->doCornerRefinement = false;

I changed it in

params->cornerRefinementMethod = 0;

with this line I found same results. But now If I write :

params->cornerRefinementMethod = cv::aruco::CORNER_REFINE_CONTOUR;

Axis is http://answers.opencv.org/upfiles/14939087994124589.png for both images

First I use opencv-3.2.0-dev and I don't think you use same version. I cannot compiled this line using VS 2015 :

params->doCornerRefinement = false;

I changed it in

params->cornerRefinementMethod = 0;

with this line I found same results. results with those values for R and T :

 Corners =[988, 512;
 945, 575;
 849, 544;
 893, 480]
 R = [1.79273, 2.85307, 1.24564]
 T=[-1.96633, -0.555819, 111.496]
 Corners =[989, 510;
 947, 573;
 850, 543;
 894, 479]
 R = [1.36133, 2.10818, -0.902147]
 T=[-1.90003, -0.681505, 111.217]

But now If I write :

params->cornerRefinementMethod = cv::aruco::CORNER_REFINE_CONTOUR;

with this line I found same results with those values for R and T :

 Corners =[987.86407, 511.47787;
 945.42108, 574.61035;
 848.55096, 543.72046;
 893.2522, 480.44275]
 R = [1.35387, 2.11157, -0.904189]
 T=[-1.95807, -0.619014, 111.203]
 Corners =[988.87256, 510.07428;
 946.534, 573.24799;
 849.7066, 542.39569;
 894.38611, 479.09317]
 R = [1.3551, 2.11294, -0.903394]
 T=[-1.90753, -0.684269, 111.31]

Axis is http://answers.opencv.org/upfiles/14939087994124589.png for both images

First I use opencv-3.2.0-dev and I don't think you use same version. I cannot compiled this line using VS 2015 :

params->doCornerRefinement = false;

I changed it in

params->cornerRefinementMethod = 0;

with this line I found same results with those values for R and T :

 Corners =[988, 512;
 945, 575;
 849, 544;
 893, 480]
 R = [1.79273, 2.85307, 1.24564]
 T=[-1.96633, -0.555819, 111.496]
 Corners =[989, 510;
 947, 573;
 850, 543;
 894, 479]
 R = [1.36133, 2.10818, -0.902147]
 T=[-1.90003, -0.681505, 111.217]

But now If I write :

params->cornerRefinementMethod = cv::aruco::CORNER_REFINE_CONTOUR;

with this line I found same results with those values for R and T :

 Corners =[987.86407, 511.47787;
 945.42108, 574.61035;
 848.55096, 543.72046;
 893.2522, 480.44275]
 R = [1.35387, 2.11157, -0.904189]
 T=[-1.95807, -0.619014, 111.203]
 Corners =[988.87256, 510.07428;
 946.534, 573.24799;
 849.7066, 542.39569;
 894.38611, 479.09317]
 R = [1.3551, 2.11294, -0.903394]
 T=[-1.90753, -0.684269, 111.31]

Axis is http://answers.opencv.org/upfiles/14939087994124589.png for both images

images. Update your repo and try to use params->cornerRefinementMethod = cv::aruco::CORNER_REFINE_CONTOUR;