QiaoJiaSystem/DataManagerServer/demo.cpp
@@ -24,7 +24,7 @@ // // a.stop(); // a.wait(); std::cout<<__DATE__<<" "<<__TIME__<<std::endl; string img = "http://192.168.1.182:8080/ManCarAnaly/group2/M00/02/B5/wKgBnFw3TB-AfsrIAAah4WWyHJ0555.jpg"; auto pos = img.find("group"); QiaoJiaSystem/DataManagerServer/http_configserver.cpp
@@ -2528,7 +2528,7 @@ std::string picDate = value["picDate"].asString(); std::string imgKey = value["imgKey"].asString(); //兼容旧版本 if(imgKey=="undefined") if(imgKey=="undefined" || imgKey.empty()) { return getAlarmImageByPicDateAndDevId(picDate,devId,response); } @@ -2644,7 +2644,7 @@ std::string path; //兼容旧版本 if(imgKey=="undefined") if(imgKey=="undefined"||imgKey.empty()) { qint64 sub; path = getVideoPathByPicDate(picDate,devId,sub); QiaoJiaSystem/EncodeServer/main.cpp
@@ -28,7 +28,7 @@ int main(int argc, char **argv) { SAVE_APP_ARGS ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); std::cout<<__DATE__<<" "<<__TIME__<<std::endl; EncodeVideoManager encodeVideoManager; encodeVideoManager.start(); QiaoJiaSystem/FaceDetectServer/main.cpp
@@ -4,6 +4,7 @@ #include <basic/util/app/AppPreference.hpp> #include "FaceDetectServerI.h" int main(int argc,char** argv) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; #ifdef DEBUG argc = 2; const char* home = argv[0]; QiaoJiaSystem/FaceSearchServer/main.cpp
@@ -14,7 +14,7 @@ using namespace std; int main(int argc, char **argv) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; SAVE_APP_ARGS; ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); auto ich = Ice::initialize(argc, argv); QiaoJiaSystem/LocalDBTool/main.cpp
@@ -241,7 +241,7 @@ int main(int argc, char **argv) { ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); std::cout<<__DATE__<<" "<<__TIME__<<std::endl; std::string m = "test"; DBG(m << " DBG"); DBG(m << " DBG"); QiaoJiaSystem/PerimeterAlarm/main.cpp
@@ -9,7 +9,7 @@ int main(int argc, char **argv) { SAVE_APP_ARGS; std::cout<<__DATE__<<" "<<__TIME__<<std::endl; #ifdef GLOG ENABLEGLOG("./log/"); #endif QiaoJiaSystem/RapidStructureApp/main.cpp
@@ -5,7 +5,7 @@ using namespace std; int main(int argc, char **argv) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; vector<string> vec; vec.push_back("/home/bsk/test/1/load/"); // vec.push_back("/home/bsk/2/load/"); QiaoJiaSystem/RecordVideo/main.cpp
@@ -47,7 +47,7 @@ #include "jsoncpp/json/json.h" int main(int argc, char **argv) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; SAVE_APP_ARGS; ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); auto ich = Ice::initialize(argc, argv); QiaoJiaSystem/StructureApp/AppPipeController.cpp
@@ -217,6 +217,7 @@ } } else { INFO("ImageNoFace Yolo:"<<imgKeyYolo<<" Face:"<<imgKeyFace); INFO("faceRpcElement: "<< faceRpcElement.getTriggerState() <<" "<< "personElement: "<<personElement.getTriggerState() <<" "<< "leftJudgment: "<<leftJudgment.getTriggerState() <<" "<< @@ -307,8 +308,8 @@ imageDrawElement.setImage(imageTemp); imageDrawElement.submit(); } /*if(faceRpcElement.getTriggerState() || //this->RecordVideo(); if(faceRpcElement.getTriggerState() || personElement.getTriggerState() || leftJudgment.getTriggerState() || rightJudgment.getTriggerState() || @@ -342,7 +343,7 @@ "crowdElement: "<<crowdElement.getTriggerState()<<" "<< "perHubElement: "<<perHubElement.getTriggerState()<<" "<< "perStaticElement: "<<perStaticElement.getTriggerState()); }*/ } } }); @@ -353,18 +354,20 @@ personElement.setObjsResults(yoloRpcElement.getLastScoreRects()); personElement.submit(); } INFO("Record Video By Yolo"); this->RecordVideo(); //INFO("Record Video By Yolo"); //this->RecordVideo(); }); faceRpcElement.registerConnector([&] { imageDrawElement.setFaces(faceRpcElement.getLastScoreRects()); INFO("Record Video By Face"); this->RecordVideo(); //INFO("Record Video By Face"); //this->RecordVideo(); }); yoloRpcElement.registerConnector("YoloTrigger", [&] { // auto images = yoloRpcElement.getTriggerMats(); //INFO("Record Video By Yolo"); //this->RecordVideo(); }); faceRpcElement.registerConnector("FaceTrigger", [&] { @@ -375,6 +378,8 @@ faceRpcElement.getTriggerFaces(), faceRpcElement.getTriggerScoreRects(), faceRpcElement.getTriggerMats()}); //INFO("Record Video By Face"); //this->RecordVideo(); }); imageDrawElement.registerConnector([&] { QiaoJiaSystem/UnitTest/main.cpp
@@ -6,6 +6,7 @@ #include "doctest.h" int main(int argc, char** argv) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; doctest::Context context; // !!! THIS IS JUST AN EXAMPLE SHOWING HOW DEFAULTS/OVERRIDES ARE SET !!! QiaoJiaSystem/VideoAnalysFromHC/main.cpp
@@ -66,7 +66,7 @@ int main(int argc, char **argv) { SAVE_APP_ARGS std::cout<<__DATE__<<" "<<__TIME__<<std::endl; #ifdef GLOG ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); #endif QiaoJiaSystem/VideoServer/QiaoJia/main.cpp
@@ -15,7 +15,7 @@ int main(int argc, char *argv[]) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; { CallBackFunc callf; QiaoJiaSystem/VideoToImage/main.cpp
@@ -27,7 +27,7 @@ int main(int argc, char **argv) { SAVE_APP_ARGS std::cout<<__DATE__<<" "<<__TIME__<<std::endl; #ifdef GLOG ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); #endif QiaoJiaSystem/VideoToImageMulth/main.cpp
@@ -26,6 +26,7 @@ int main(int argc, char **argv) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; SAVE_APP_ARGS #ifdef GLOG @@ -35,7 +36,7 @@ appPref.setLongData("gpu.index", 1); appPref.setIntData("show.image", 0); std::cout<<__DATE__<<std::endl; // LDBTool _dbTool; // thread startRtspAnalys(startManager, &_dbTool); QiaoJiaSystem/YoloServer/main.cpp
@@ -7,6 +7,7 @@ #include <basic/util/app/AppConfig.h> int main(int argc, char **argv) { std::cout<<__DATE__<<" "<<__TIME__<<std::endl; SAVE_APP_ARGS; ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); auto ich = Ice::initialize(argc, argv);