| | |
| | | #include <basic/util/fastdfs/FastFds.hpp> |
| | | #include "DBStruct.h" |
| | | #include <basic/db/Elasticsearch/EsDBTool.h> |
| | | #include "IntAreaCalcUtil.h" |
| | | class PerimeterElement : public basic::PipeElement |
| | | { |
| | | public: |
| | |
| | | |
| | | std::string uploadImgToFdfs(cv::Mat& image); |
| | | |
| | | bool saveInfoToEs(const std::string& imgUrl,const std::string& time); |
| | | bool saveInfoToEs(const std::string& imgUrl,const std::string& time,const std::string& imgKey); |
| | | void setMask(std::string mask); |
| | | bool isInWeek(const std::vector<LActRuleWeekRecord>& ruleWeek); |
| | | cv::Rect CutMask(); |
| | |
| | | EsDBTool* pManagerEsDB; |
| | | |
| | | |
| | | int npts; |
| | | vector<cv::Rect> m_recVec; |
| | | int npts; |
| | | std::vector<cv::Rect> m_recVec; |
| | | |
| | | bool m_bIsMask; |
| | | std::vector<Point> poly1; |
| | | bool m_bSetWH; |
| | | cv::Point2i* pointArray; |
| | | |
| | | }; |
| | | |
| | | #endif // PAELEMENT_H |