@@ -802,8 +802,7 @@ void CCheckerDetectorImpl::
802802
803803 // get physical char box model
804804 std::vector<cv::Point2f> chartPhy;
805- cv::Size size_box_phy;
806- get_subbox_chart_physical (points, chartPhy, size_box_phy);
805+ get_subbox_chart_physical (points, chartPhy);
807806
808807 // Find the perspective transformation that brings current chart to rectangular form
809808 Matx33f ccT = cv::getPerspectiveTransform (points, chartPhy);
@@ -1101,7 +1100,7 @@ void CCheckerDetectorImpl::
11011100}
11021101
11031102void CCheckerDetectorImpl::
1104- get_subbox_chart_physical (const std::vector<cv::Point2f> &points, std::vector<cv::Point2f> &chartPhy, cv::Size &size )
1103+ get_subbox_chart_physical (const std::vector<cv::Point2f> &points, std::vector<cv::Point2f> &chartPhy)
11051104{
11061105 float w, h;
11071106 cv::Point2f v1 = points[1 ] - points[0 ];
@@ -1117,8 +1116,6 @@ void CCheckerDetectorImpl::
11171116 chartPhy[1 ] = cv::Point2f (w, 0 );
11181117 chartPhy[2 ] = cv::Point2f (w, h);
11191118 chartPhy[3 ] = cv::Point2f (0 , h);
1120-
1121- size = cv::Size ((int )w, (int )h);
11221119}
11231120
11241121void CCheckerDetectorImpl::
0 commit comments