From 7e4c22de7080b00a2575b489a700d70550cce6ff Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期四, 14 三月 2019 17:39:17 +0800 Subject: [PATCH] fix bug --- QiaoJiaSystem/YoloServer/ImageDrawElement.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/YoloServer/ImageDrawElement.cpp b/QiaoJiaSystem/YoloServer/ImageDrawElement.cpp index 528bc12..88a1460 100644 --- a/QiaoJiaSystem/YoloServer/ImageDrawElement.cpp +++ b/QiaoJiaSystem/YoloServer/ImageDrawElement.cpp @@ -6,8 +6,8 @@ } void ImageDrawElement::darwProperty(cv::Mat &image, string key, string value, int x, int y) { - cv::putText(image, key + ": " + value, cv::Point(x, y), cv::HersheyFonts::FONT_HERSHEY_PLAIN, 1.5, - cv::Scalar(255, 255, 0), 2); + cv::putText(image, key + ": " + value, cv::Point(x, y), cv::HersheyFonts::FONT_HERSHEY_PLAIN, 4, + cv::Scalar(200, 120, 200), 3); } void ImageDrawElement::processImage(cv::Mat &image) { -- Gitblit v1.8.0