Skip to content

Commit

Permalink
Update ChessboradStruct.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyliucat authored May 8, 2024
1 parent d21c015 commit 4a47e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChessboradStruct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void ChessboradStruct::predictCorners(std::vector<cv::Vec2f>& p1, std::vector<cv
v2 = p3[i] - p2[i];
// predict angles
a1 = atan2(v1[1], v1[0]);
a2 = atan2(v1[1], v1[0]);
a2 = atan2(v2[1], v2[0]);
a3 = 2.0 * a2 - a1;

//predict scales
Expand Down

0 comments on commit 4a47e31

Please sign in to comment.