Commit 9737ffcdfb348ac092a5c851bdf1d69cc4eb934c

Authored by Hu Chunming
1 parent cd05f4c6

提交头文件的修改内容

algorithm/vehicle_analysis/vehicle_result.h
@@ -111,8 +111,8 @@ typedef struct vplate_results @@ -111,8 +111,8 @@ typedef struct vplate_results
111 float num_score;//识别置信度 111 float num_score;//识别置信度
112 int type; //车牌类型:0-单排蓝色 1-单排黄色 2-单排白色 3-单排黑色 4-双排黄色 5-双排白色 6-新能源黄绿色 7-新能源白绿色 112 int type; //车牌类型:0-单排蓝色 1-单排黄色 2-单排白色 3-单排黑色 4-双排黄色 5-双排白色 6-新能源黄绿色 7-新能源白绿色
113 113
114 - stain_vplate_result stain_vp_result; //车牌遮挡识别结果  
115 int special_type; //常规车牌、临时车牌、低速车牌。0-common,1-temporary_license_plate,2-low_speed_license_plate. 114 int special_type; //常规车牌、临时车牌、低速车牌。0-common,1-temporary_license_plate,2-low_speed_license_plate.
  115 + stain_vplate_result stain_vp_result; //车牌遮挡识别结果
116 }vplate_results; 116 }vplate_results;
117 #endif 117 #endif
118 118
@@ -235,7 +235,7 @@ typedef struct mucktruckcover_result @@ -235,7 +235,7 @@ typedef struct mucktruckcover_result
235 typedef struct mta_details 235 typedef struct mta_details
236 { 236 {
237 int status; //摩托车是否载人/摩托车驾驶人是否戴头盔/三轮车是否载人 UNCERTAINTY:不确定 237 int status; //摩托车是否载人/摩托车驾驶人是否戴头盔/三轮车是否载人 UNCERTAINTY:不确定
238 - float confidence; //置信度 238 + float confidence{0.0}; //置信度
239 }mta_details; 239 }mta_details;
240 240
241 typedef struct mta_result 241 typedef struct mta_result
algorithm/vid_clothes2/vid_clothes/vid_clothes.h
@@ -31,8 +31,8 @@ extern "C" @@ -31,8 +31,8 @@ extern "C"
31 #define VIDCLOTHES_RESULT_ 31 #define VIDCLOTHES_RESULT_
32 typedef struct vidclothes_result 32 typedef struct vidclothes_result
33 { 33 {
34 - float score;  
35 - int index; //13类:"棕", "橙", "灰", "白", "粉", "紫", "红", "绿", "蓝", "银", "青", "黄", "黑" 34 + float score{0.0};
  35 + int index {14}; //13类:"棕", "橙", "灰", "白", "粉", "紫", "红", "绿", "蓝", "银", "青", "黄", "黑"
36 }vidclothes_result; 36 }vidclothes_result;
37 #endif 37 #endif
38 38