Commit 8fc1bcc7 authored by oscar's avatar oscar

提交更新

parent f0133c6c
......@@ -638,7 +638,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
if (m_send_camera_image == 1 && msg->Images.size() == 3)
{
char name[512] = {};
sprintf(name, "[%.2f,%.2f]", objMsg.x, objMsg.y);
sprintf(name, "[%.1f,%.1f]", objMsg.x, objMsg.y);
cv::putText(sendImage[i], name, cv::Point(bottom_center_x, bottom_center_y), cv::FONT_HERSHEY_PLAIN, 3, cv::Scalar(255, 23, 0), 3, 1);
}
}
......
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