From 118d5304c8744a3cb533164af6fbdc91229d6f3d Mon Sep 17 00:00:00 2001 From: xuxiuxi <554325746@qq.com> Date: 星期五, 08 三月 2019 16:25:06 +0800 Subject: [PATCH] cam_dev add type code --- 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