From 99221e4721a1246883465c2b52fbff14eb9aaa7a Mon Sep 17 00:00:00 2001
From: pans <pansen626@sina.com>
Date: 星期六, 30 三月 2019 12:12:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/yangwu1.3' into yangwu1.3
---
QiaoJiaSystem/YoloServer/YoloDetectServerI.h | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/QiaoJiaSystem/YoloServer/YoloDetectServerI.h b/QiaoJiaSystem/YoloServer/YoloDetectServerI.h
index ed5203a..40b25a2 100644
--- a/QiaoJiaSystem/YoloServer/YoloDetectServerI.h
+++ b/QiaoJiaSystem/YoloServer/YoloDetectServerI.h
@@ -8,10 +8,10 @@
#include <opencv2/opencv.hpp>
#include <basic/util/resource/ResourcesManager.h>
-#include "DnDetect.h"
-#include <atomic>
+//#include "DnDetect.h"
+//#include <atomic>
-struct DnDetectRes {
+/*struct DnDetectRes {
public:
DnDetectRes() : i(3) {
}
@@ -21,7 +21,7 @@
std::unordered_map<int, std::thread::id> map_pid;
// 鎺ュ彈鐨勭嚎绋嬩釜鏁�
int i;
-};
+};*/
class YoloDetectServerI : public YoloDetect::YoloDetectServer {
public:
@@ -45,7 +45,7 @@
bool m_bInitThd;
std::thread m_thdInit;
- std::map<int, DnDetectRes> map_dnDetRes;
+// std::map<int, DnDetectRes> map_dnDetRes;
// ResourcesManager<int> resourcesManager;
@@ -53,6 +53,8 @@
static int init(void *arg);
+ image matToImg(cv::Mat &RefImg);
+
cv::Mat bufferToMat(const int w, const int h, const int channels, const void *buffer);
--
Gitblit v1.8.0