From 9a0afe1ccce6fd3a6882b4c19b72cee579a54dd1 Mon Sep 17 00:00:00 2001 From: xuxiuxi <554325746@qq.com> Date: 星期五, 08 三月 2019 12:57:51 +0800 Subject: [PATCH] find channel list bug --- QiaoJiaSystem/StructureApp/ImageDrawElement.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/ImageDrawElement.cpp b/QiaoJiaSystem/StructureApp/ImageDrawElement.cpp index 44a0088..56879f9 100644 --- a/QiaoJiaSystem/StructureApp/ImageDrawElement.cpp +++ b/QiaoJiaSystem/StructureApp/ImageDrawElement.cpp @@ -25,6 +25,8 @@ for (auto yoloObj: yoloObjectsData) { auto rect = CvUtil::zoomRect(yoloObj.rect, 1, 1); + //[{"x":1.5999756,"y":82.533325},{"x":1.5999756,"y":180.53333},{"x":61.599976,"y":175.53333},{"x":63.599976,"y":66.533325}] + //cv::rectangle(image, cv::Rect(4,328,252,480 ), cv::Scalar(0, 0, 255), 2); cv::rectangle(image, rect, yoloObj.id >= 0 ? cv::Scalar(255, 0, 0) : cv::Scalar(0, 255, 255), 2); int i = 0; for (auto &property:yoloObj.properties) { -- Gitblit v1.8.0