| | |
| | | #include <atomic> |
| | | #include "../FaceSearchServer/CasiaFaceWrapper/CasiaFaceWrapperN.h" |
| | | #include "AppPipeController.h" |
| | | #include "NsqMsgTool.hpp" |
| | | |
| | | #include <NsqMsgTool.hpp> |
| | | |
| | | typedef std::shared_ptr<HttpServer::Response> PResponse; |
| | | |
| | |
| | | |
| | | std::string loadFaceFeaData(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | |
| | | |
| | | std::string getAlarmImageFromVideoFile(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | std::string getRecordVideoPath(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | |
| | | unsigned char *serialNumber = NULL) const; |
| | | |
| | | bool createDevId(const int &dev_batch, const int &dev_sequence); |
| | | |
| | | |
| | | |
| | | std::vector<std::string> forEachFile(const std::string &dir_name); |
| | | |
| | |
| | | |
| | | |
| | | //根据PicDate获取报警图 |
| | | std::string getAlarmImageByPicDateAndDevId(const std::string& picDate,const std::string& devId, |
| | | PResponse &response); |
| | | std::string getAlarmImageByPicDateAndDevId(const std::string &picDate, const std::string &devId, |
| | | PResponse &response); |
| | | |
| | | //根据ImgKey获取报警图 |
| | | std::string getAlarmImageByImageKeyAndDevId(const std::string& imgKey,const std::string& devId, |
| | | PResponse &response); |
| | | std::string getAlarmImageByImageKeyAndDevId(const std::string &imgKey, const std::string &devId, |
| | | PResponse &response); |
| | | |
| | | //根据PicData获取视频路径 |
| | | std::string getVideoPathByPicDate(const std::string &picDate, const std::string &camId, qint64 &sub); |
| | |
| | | std::vector<std::string> forEachFileByImgKey(const std::string &dir_name); |
| | | |
| | | //根据ImgKey获取视频名 |
| | | std::string GetVideoNameByImgKey(const std::string& imgKey,const std::string& strPath); |
| | | std::string GetVideoNameByImgKey(const std::string &imgKey, const std::string &strPath); |
| | | |
| | | }; |
| | | |