pansen
2019-04-10 ecb47d89dcb2b1d8e4be9b6cb0a84d8b49e2e3cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// 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 &current) override;
 
    VptDetect::stringDatas getStr(Ice::Int type_, const ::Ice::Current &current) override;
 
    VptDetect::stringData getTypeStr(const ::Ice::Current &current) override;
 
    VptDetect::stringData getColorLabel(const ::Ice::Current &current) override;
 
    VptDetect::stringDatas getHpResStr(const ::Ice::Current &current) override;
 
    VptDetect::stringDatas getHcpResStr(const ::Ice::Current &current) 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