From 7c714aab1a4d2c9aee5005a516b5bd87a26c2cd5 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期二, 19 二月 2019 16:59:32 +0800 Subject: [PATCH] 修改连续两帧均报警的情况 --- QiaoJiaSystem/StructureApp/AppPipeController.h | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/AppPipeController.h b/QiaoJiaSystem/StructureApp/AppPipeController.h index e617143..ab0e738 100644 --- a/QiaoJiaSystem/StructureApp/AppPipeController.h +++ b/QiaoJiaSystem/StructureApp/AppPipeController.h @@ -19,7 +19,7 @@ #include "PerStaticElement.h" #include <jsoncpp/json/json.h> #include "DBStruct.h" - +#include "SaveVideoRpc.h" class AppPipeController : public PipeController { public: /*** @@ -60,7 +60,7 @@ //TriggerElement crowdTriggerElement; void initCrowd(); - + void RecordVideo(); private://KeepRight JudgmentRetrogradeTool leftJudgment; JudgmentRetrogradeTool rightJudgment; @@ -79,6 +79,7 @@ void initPerHub(); private: + SaveVideoRpcClient_t m_rpcClient; ffmpeg::VideoCaptureElement videoCaptureElement; YoloRpcElement yoloRpcElement; FaceRpcElement faceRpcElement; @@ -109,6 +110,9 @@ SdkRuleMap m_sdkRuleMap; std::string m_localIp; std::string getFullFileName(); + std::mutex mutex; + bool m_bSetWH; + HiredisTool m_hiredisTool; }; -- Gitblit v1.8.0