Commit 502f9d1095a220c9b1a7554f95004ea107e9590e
1 parent
dd11c491
添加行人特征数据表
Showing
2 changed files
with
35 additions
and
0 deletions
src/ai_engine_module/HumanParsing.h
... | ... | @@ -11,6 +11,24 @@ |
11 | 11 | |
12 | 12 | using namespace std; |
13 | 13 | |
14 | +//static std::string hair[] = { "长发", "短发", "其他" }; | |
15 | +//static std::string hair_color[] = { "黑", "白", "其他" }; | |
16 | +//static std::string eye_glass[] = { "未戴眼镜", "戴眼镜" }; | |
17 | +//static std::string mouth[] = { "未戴口罩", "戴口罩" }; | |
18 | +//static std::string up[] = { "T恤/背心", "衬衫", "毛衣", "外套", "连衣裙", "其他" }; | |
19 | +//static std::string up_color[] = { "黑", "白", "灰", "红", "蓝", "黄", "绿", "多色", "其他" }; | |
20 | +//static std::string clothing_text[] = { "纯色", "碎花", "条纹/格子", "其他" }; | |
21 | +//static std::string down[] = { "长裤", "短裤", "长裙", "短裙", "连衣裙", "其他" }; | |
22 | +//static std::string down_color[] = { "黑", "白", "灰", "红", "蓝", "黄", "绿", "多色", "其他" }; | |
23 | +//static std::string bao[] = { "无包", "有包" }; | |
24 | +//static std::string sex[] = { "男", "女", "不明" }; | |
25 | +//static std::string age[] = { "小孩", "成人", "不明" }; | |
26 | +//static std::string viewpoint[] = { "正面","背面", "侧面" }; | |
27 | +//static std::string dasan[] = { "未打伞", "打伞" }; | |
28 | +//static std::string child[] = { "未抱小孩", "抱小孩" }; | |
29 | +//static std::string personstate[] = { "行走", "奔跑", "蹲坐", "推车", "其他" }; | |
30 | + | |
31 | + | |
14 | 32 | class HumanParsing |
15 | 33 | { |
16 | 34 | public: | ... | ... |
src/ai_platform/header.h
... | ... | @@ -22,6 +22,23 @@ |
22 | 22 | using namespace std; |
23 | 23 | |
24 | 24 | |
25 | +static std::string hair[] = { "长发", "短发", "其他" }; | |
26 | +static std::string hair_color[] = { "黑", "白", "其他" }; | |
27 | +static std::string eye_glass[] = { "未戴眼镜", "戴眼镜" }; | |
28 | +static std::string mask[] = { "未戴口罩", "戴口罩" }; | |
29 | +static std::string up_cloth[] = { "T恤/背心", "衬衫", "毛衣", "外套", "连衣裙", "其他" }; | |
30 | +static std::string up_cloth_color[] = { "黑", "白", "灰", "红", "蓝", "黄", "绿", "多色", "其他" }; | |
31 | +static std::string clothing_text[] = { "纯色", "碎花", "条纹/格子", "其他" }; | |
32 | +static std::string down_cloth[] = { "长裤", "短裤", "长裙", "短裙", "连衣裙", "其他" }; | |
33 | +static std::string down_cloth_color[] = { "黑", "白", "灰", "红", "蓝", "黄", "绿", "多色", "其他" }; | |
34 | +static std::string bag[] = { "无包", "有包" }; | |
35 | +static std::string sex[] = { "男", "女", "不明" }; | |
36 | +static std::string age[] = { "小孩", "成人", "不明" }; | |
37 | +static std::string viewpoint[] = { "正面","背面", "侧面" }; | |
38 | +static std::string umbrella[] = { "未打伞", "打伞" }; | |
39 | +static std::string hold_baby[] = { "未抱小孩", "抱小孩" }; | |
40 | +static std::string personstate[] = { "行走", "奔跑", "蹲坐", "推车", "其他" }; | |
41 | + | |
25 | 42 | typedef struct hp_cls_info //分类结果结构体 |
26 | 43 | { |
27 | 44 | int res_index; //分类结果 | ... | ... |