Commit 73f6d00e authored by oscar's avatar oscar

提交更新

parent 819d5bce
......@@ -592,7 +592,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
if (m_send_camera_image == 1 && msg->Images.size() == 3)
{
cv::Point2f point(bottom_center_x, bottom_center_y);
cv::circle(sendImage[i], point, (int)3, cv::Scalar(0, 255, 0), 1);
cv::circle(sendImage[i], point, (int)5, cv::Scalar(0, 255, 0), 5);
}
if(i == 0 && m_camera_one_center_type != 2)
objMsg.x = objMsg.x + (objMsg.l / 2);
......@@ -639,7 +639,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
{
char name[512] = {};
sprintf(name, "[%.2f,%.2f]", objMsg.x, objMsg.y);
cv::putText(sendImage[i], name, cv::Point(bottom_center_x, bottom_center_y), cv::FONT_HERSHEY_PLAIN, 1, cv::Scalar(255, 23, 0), 1, 1);
cv::putText(sendImage[i], name, cv::Point(bottom_center_x, bottom_center_y), cv::FONT_HERSHEY_PLAIN, 2, cv::Scalar(255, 23, 0), 2, 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