Commit aba66352 authored by Alexander Nesterov's avatar Alexander Nesterov

Fix dataset: russian.jpg

parent 6c444ced
...@@ -203,7 +203,6 @@ vector<Point2f> QRDetect::separateVerticalLines(const vector<Vec3d> &list_lines) ...@@ -203,7 +203,6 @@ vector<Point2f> QRDetect::separateVerticalLines(const vector<Vec3d> &list_lines)
{ {
result.push_back(list_lines[pnt]); result.push_back(list_lines[pnt]);
} }
} }
} }
...@@ -433,7 +432,6 @@ bool QRDetect::computeTransformationPoints() ...@@ -433,7 +432,6 @@ bool QRDetect::computeTransformationPoints()
list_edge_points.push_back(up_right_edge_point); list_edge_points.push_back(up_right_edge_point);
double temp_area = fabs(contourArea(list_edge_points)); double temp_area = fabs(contourArea(list_edge_points));
if (max_area < temp_area) if (max_area < temp_area)
{ {
up_left_edge_point = new_non_zero_elem[0][i]; up_left_edge_point = new_non_zero_elem[0][i];
......
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