4a273a4a
Hu Chunming
添加hcp和hp
|
1
2
3
|
#include "include.h"
#include "human_parsing.h"
|
531d44a1
Hu Chunming
添加日志
|
4
5
|
// static std::string up_color[] = { "黑", "白", "灰", "红", "蓝", "黄", "绿", "多色", "其他" };
|
b3012672
Hu Chunming
天啊及hp,road_seg子sd...
|
6
7
8
9
10
|
struct BodyColorInfo{
int upper_body_color;
int lower_body_color;
};
|
4a273a4a
Hu Chunming
添加hcp和hp
|
11
12
13
14
15
16
17
18
|
class HumanAnalysis
{
public:
HumanAnalysis(/* args */);
~HumanAnalysis();
int init(int devId);
|
b3012672
Hu Chunming
天啊及hp,road_seg子sd...
|
19
|
vector<BodyColorInfo> detect(vector<sy_img> vec_img);
|
4a273a4a
Hu Chunming
添加hcp和hp
|
20
21
22
23
24
25
26
27
|
private:
int release();
private:
void* m_handle{nullptr};
aclrtContext ctx{nullptr};
};
|