| | |
| | | #include <mutex> |
| | | #include <jsoncpp/json/json.h> |
| | | #include "DBStruct.h" |
| | | |
| | | #define VECTOR_MAX 50 |
| | | |
| | | class QSharedMemory; |
| | |
| | | class FaceExtractElement : public TimerElement { |
| | | public: |
| | | |
| | | FaceExtractElement(std::string shareMemoryName,const SdkRule& rule); |
| | | FaceExtractElement(std::string shareMemoryName, const SdkRule &rule); |
| | | //FaceExtractElement(std::string shareMemoryName,const SdkRule& rule,SaveVideoRpcClient_t& rpcClient); |
| | | |
| | | ~FaceExtractElement(); |
| | |
| | | |
| | | // AlarmServerInterface::TableNames tableNames; |
| | | std::vector<::FaceDetect::Data> features; |
| | | |
| | | cv::Mat m_image; |
| | | Base64 base64; |
| | | SdkRule m_sdkRule; |
| | | SaveVideoRpcClient_t m_rpcClient; |
| | | |
| | | void InsertToESDB(const vector<FaceToExtract> &faceExtractQueueTmp, float t_com_sc, int i, int j, |
| | | FaceDetect::Data &feature, string &strImgUrl, string &strBigImgUrl); |
| | | }; |
| | | |
| | | |