Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/GengGode/cvAutoTrack into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
GengGode committed Dec 3, 2023
2 parents 287523b + 0611825 commit 4b629b2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/impl_cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void Run_GetUID()
int uid = 0;
if (GetUID(uid))
fmt::print("UID : {}\n", uid);

else
fmt::print("错误码 : {}\n", GetLastErr());
}
Expand Down Expand Up @@ -179,7 +179,7 @@ void Run_GetPosit()
double x2 = 0;
double y2 = 0;
if (GetPositionOfMap(x2, y2, mapid))
fmt::print("坐标 : {} {} {}\n", x2, y2, mapid);
fmt::print("坐标 : {} {} {}\n", x2, y2, mapid);
else
fmt::print("错误码 : {}\n", GetLastErr());
}
Expand Down Expand Up @@ -373,16 +373,12 @@ void Test_video()

// SetWorldScale(0.666667);
if (GetInfoLoadPicture(path, uid, x2, y2, a2))
{
std::cout << "Now Coor and Angle: "
<< " " << uid << " "
<< " " << x2 << " " << y2 << " " << a2 << "\n";
}
fmt::print("Now Coor and Angle: {} {} {} {}\n", uid, x2, y2, a2);
else
fmt::print("错误码 : {}\n", GetLastErr());
// SetWorldScale(1.0);
if (GetInfoLoadPicture(path, uid, x2, y2, a2))
fmt::print("Now Coor and Angle: {} {} {} {}\n", uid, x2, y2, a2);
fmt::print("Now Coor and Angle: {} {} {} {}\n", uid, x2, y2, a2);
else
fmt::print("错误码 : {}\n", GetLastErr());
char buff[1024] = {0};
Expand Down

0 comments on commit 4b629b2

Please sign in to comment.