Skip to content

Commit

Permalink
fix:修复了在城镇外定位的偏移
Browse files Browse the repository at this point in the history
  • Loading branch information
GengGode committed Feb 8, 2023
1 parent 90064bb commit 4a53d59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cvAutoTrack/src/match/surf/SurfMatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ cv::Point2d SurfMatch::match_continuity_not_on_city(bool& calc_continuity_is_fai
{
isOnCity = false;

cv::Point2d p = TianLi::Utils::SPC(lisx, sumx, lisy, sumy);
cv::Point2d p = TianLi::Utils::SPC(lisx, sumx, lisy, sumy) * minimap_scale_param;
pos_not_on_city = cv::Point2d(p.x + hisP[2].x - someSizeR, p.y + hisP[2].y - someSizeR);
}
else
Expand Down
2 changes: 1 addition & 1 deletion cvAutoTrack/src/version/version_tag.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.1
7.5.7

0 comments on commit 4a53d59

Please sign in to comment.