// // Created by ps on 19-4-10. // #include "VptServer.h" #include "VptDetectWrapper.h" #ifndef QIAOJIASYSTEM_VPTSERVERI_H #define QIAOJIASYSTEM_VPTSERVERI_H class VptServerI : public VptDetect::VptDetectServer { public: VptServerI(); virtual ~VptServerI(); VptDetect::ObjInfos VptDetect(Ice::Int width, Ice::Int height, const ::std::string &shM, const ::Ice::Current ¤t) override; VptDetect::stringDatas getStr(Ice::Int type_, const ::Ice::Current ¤t) override; VptDetect::stringData getTypeStr(const ::Ice::Current ¤t) override; VptDetect::stringData getColorLabel(const ::Ice::Current ¤t) override; VptDetect::stringDatas getHpResStr(const ::Ice::Current ¤t) override; VptDetect::stringDatas getHcpResStr(const ::Ice::Current ¤t) override; private: cv::Mat bufferToMat(const int w, const int h, const int channels, const void *buffer); private: VptDetectWrapper m_vptDetectWrapper; }; #endif //QIAOJIASYSTEM_VPTSERVERI_H