From 9737ffcdfb348ac092a5c851bdf1d69cc4eb934c Mon Sep 17 00:00:00 2001 From: cmhu <2657262686@qq.com> Date: Tue, 11 Feb 2025 19:24:14 +0800 Subject: [PATCH] 提交头文件的修改内容 --- algorithm/vehicle_analysis/vehicle_result.h | 4 ++-- algorithm/vid_clothes2/vid_clothes/vid_clothes.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/algorithm/vehicle_analysis/vehicle_result.h b/algorithm/vehicle_analysis/vehicle_result.h index 2075a37..a2c9200 100644 --- a/algorithm/vehicle_analysis/vehicle_result.h +++ b/algorithm/vehicle_analysis/vehicle_result.h @@ -111,8 +111,8 @@ typedef struct vplate_results float num_score;//识别置信度 int type; //车牌类型:0-单排蓝色 1-单排黄色 2-单排白色 3-单排黑色 4-双排黄色 5-双排白色 6-新能源黄绿色 7-新能源白绿色 - stain_vplate_result stain_vp_result; //车牌遮挡识别结果 int special_type; //常规车牌、临时车牌、低速车牌。0-common,1-temporary_license_plate,2-low_speed_license_plate. + stain_vplate_result stain_vp_result; //车牌遮挡识别结果 }vplate_results; #endif @@ -235,7 +235,7 @@ typedef struct mucktruckcover_result typedef struct mta_details { int status; //摩托车是否载人/摩托车驾驶人是否戴头盔/三轮车是否载人 UNCERTAINTY:不确定 - float confidence; //置信度 + float confidence{0.0}; //置信度 }mta_details; typedef struct mta_result diff --git a/algorithm/vid_clothes2/vid_clothes/vid_clothes.h b/algorithm/vid_clothes2/vid_clothes/vid_clothes.h index 3f82bd7..536be8c 100644 --- a/algorithm/vid_clothes2/vid_clothes/vid_clothes.h +++ b/algorithm/vid_clothes2/vid_clothes/vid_clothes.h @@ -31,8 +31,8 @@ extern "C" #define VIDCLOTHES_RESULT_ typedef struct vidclothes_result { - float score; - int index; //13类:"棕", "橙", "灰", "白", "粉", "紫", "红", "绿", "蓝", "银", "青", "黄", "黑" + float score{0.0}; + int index {14}; //13类:"棕", "橙", "灰", "白", "粉", "紫", "红", "绿", "蓝", "银", "青", "黄", "黑" }vidclothes_result; #endif -- libgit2 0.21.4