@@ -802,8 +802,7 @@ void CCheckerDetectorImpl::
802
802
803
803
// get physical char box model
804
804
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);
807
806
808
807
// Find the perspective transformation that brings current chart to rectangular form
809
808
Matx33f ccT = cv::getPerspectiveTransform (points, chartPhy);
@@ -1101,7 +1100,7 @@ void CCheckerDetectorImpl::
1101
1100
}
1102
1101
1103
1102
void 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)
1105
1104
{
1106
1105
float w, h;
1107
1106
cv::Point2f v1 = points[1 ] - points[0 ];
@@ -1117,8 +1116,6 @@ void CCheckerDetectorImpl::
1117
1116
chartPhy[1 ] = cv::Point2f (w, 0 );
1118
1117
chartPhy[2 ] = cv::Point2f (w, h);
1119
1118
chartPhy[3 ] = cv::Point2f (0 , h);
1120
-
1121
- size = cv::Size ((int )w, (int )h);
1122
1119
}
1123
1120
1124
1121
void CCheckerDetectorImpl::
0 commit comments