From 1719071749e0ab0ed2378c716694df8c04355943 Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期五, 08 三月 2019 18:32:57 +0800
Subject: [PATCH] 修改添加本地摄像机无法显示的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