From d4ec4cba8176dc573988907a74fd958423cc59ea Mon Sep 17 00:00:00 2001 From: cmhu <2657262686@qq.com> Date: Mon, 6 Jan 2025 10:21:35 +0800 Subject: [PATCH] 补交头文件 --- algorithm/vehicle_analysis/vehicle_analysis.h | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------- algorithm/vehicle_analysis/vehicle_result.h | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------ 2 files changed, 161 insertions(+), 159 deletions(-) diff --git a/algorithm/vehicle_analysis/vehicle_analysis.h b/algorithm/vehicle_analysis/vehicle_analysis.h index 20f923b..5046dd9 100644 --- a/algorithm/vehicle_analysis/vehicle_analysis.h +++ b/algorithm/vehicle_analysis/vehicle_analysis.h @@ -1,6 +1,6 @@ /************************************************************ * Version: vehicle_analysis_v0.0.0.190311.gpuonly -* CopyRight: пƼ޹˾ +* CopyRight: �п�����������Ƽ����޹�˾ * UpdateDate: 20190311 * Content: drafting the first edition by ************************************************************/ @@ -23,48 +23,50 @@ extern "C" { #endif -#include "sy_common.h" //ͨݽṹ嶨 -#include "vehicle_result.h" //ṹ嶨 +#include "sy_common.h" //ͨ�����ݽṹ�嶨�� +#include "vehicle_result.h" //������������ṹ�嶨�� #ifndef __VEHICLE_INFO__ #define __VEHICLE_INFO__ - typedef struct vehicle_info { // - vd_result vehicle_detect_res; //(ͷ+β) - vd_result vehicle_win_detect_res; // - vd_result vehicle_body_detect_res; // - vc_result vehicle_color_res; //ɫ - vr_result vehicle_recg_res; //ʶ - vplate_results vehicle_plate_det_recg_res; //Ƽʶ - v_pendant_d_result vehicle_pendant_det_res; // - vid_result vehicle_illegal_det_res; //Υ - vf_result vehicle_fea_res; //Գѳ - //vs_result vehicle_special_res; //Ʒ೵ֻͣл - //mucktruckcover_result vehicle_mucktruckcover_res; //Ǹ״̬(ͷֻƷ೵еͽβֻл) + typedef struct vehicle_info { //������������� + vd_result vehicle_detect_res; //��(��ͷ+��β)����� + vd_result vehicle_win_detect_res; //��������� + vd_result vehicle_body_detect_res; //��������� + vc_result vehicle_color_res; //����ɫ + vr_result vehicle_recg_res; //����ʶ�� + vplate_results vehicle_plate_det_recg_res; //���Ƽ��ʶ���� + v_pendant_d_result vehicle_pendant_det_res; //������ + vid_result vehicle_illegal_det_res; //��Υ�� + vf_result vehicle_fea_res; //�Գ��ѳ� + //vs_result vehicle_special_res; //����Ʒ�೵�ͣ�ֻ�л������������� + //mucktruckcover_result vehicle_mucktruckcover_res; //�������Ǹ�״̬(��ͷ��ֻ������Ʒ�೵���е��������ͽ���������������������β��ֻ�л�����������) - mta_result mta_res; //ĦгǷ/ĦгʻǷͷ/ũóǷ + mta_result mta_res; //Ħ�г��Ƿ�����/Ħ�г���ʻ���Ƿ��ͷ��/ũ�ó��Ƿ����� - manned_result manned_res; //Ƿǻֳ 0-ǻ/ֳ/ֳδ/δˣ1-ˣ2-ֳ + manned_result manned_res; //�Ƿ��ǻ������ֳ����� 0-���ǻ���/�������ֳ�/���ֳ�δ����/����δ���ˣ�1-�������ˣ�2-���ֳ����� - int type; //0-ͷ1-β2-Ħг3-ֳ 4- + int type; //�������0-��ͷ��1-��β��2-Ħ�г���3-���ֳ� ��4-���� + int vpt_type; + int rainshed; //是否安装雨棚, 0 有雨棚 1 无雨棚 - //int obj_quality_idx;//۵ͣ0-Чݣ1-ݣ2- + //int obj_quality_idx;//�۵��������ͣ�0-��Ч���ݣ�1-�������ݣ�2-�������� } vehicle_info; #endif #ifndef __VEHICLE_ANALYSIS_RESULT__ #define __VEHICLE_ANALYSIS_RESULT__ - typedef struct va_result { // ڴⲿ - vehicle_info *info; //ȫ - int count; // + typedef struct va_result { //����������� �ڴ����ⲿ���� + vehicle_info *info; //������ȫ��������� + int count; //�������� } va_result; #endif #ifndef __DET_PARAM__ #define __DET_PARAM__ - typedef struct det_param //㷨 + typedef struct det_param //����㷨���� { int process_min_l; int process_max_l; @@ -77,36 +79,36 @@ extern "C" #define __VA_PARAM__ typedef struct va_param { - //㷨ò - sy_command vehicle_detect_config; //Ƿ - sy_command vehicle_recg_config; //Ƿʶ - sy_command vehicle_recg_supplement_config; //Ƿʶ𲹳ʶ(ͷβlogoʶ+15)ǰ᣺ʶvehicle_recg_config - sy_command vehicle_plate_det_recg_config; //ǷƼʶ - sy_command vehicle_color_config; //Ƿɫʶ - sy_command vehicle_pendant_det_config; //Ƿʶ - sy_command vehicle_illegal_config; //ǷΥΪ - sy_command vehicle_feature_config; //Ƿȡ - //sy_command vehicle_special_config; //ǷƷ೵ʶ𡣣ǰ᣺ʶvehicle_recg_config - //sy_command vehicle_image_quality_config; //Ƿͼʶ - sy_command vehicle_motor_tricycle_analysis_config; //ǷĦгֳĦгǷ/ĦгʻǷͷ/ũóǷˣ - //sy_command vehicle_motor_hs_output_config; //ǷĦгδͷͷꡣǰ᣺Ħгֳvehicle_motor_tricycle_analysis_config - //sy_command vehicle_stain_vp_config; //Ƿڵʶ - //sy_command vehicle_muck_truck_cover_config; //ǷǸʶ(ǰ᣺Ʒ೵ʶvehicle_special_config) - //sy_command vehicle_lorry_manned_config; //Ƿʶ𡣣ǰ᣺ʶvehicle_recg_config - sy_command vehicle_manned_config; //Ƿֳʶ𡣣ǰ᣺ʶvehicle_recg_config + //�㷨���ò��� + sy_command vehicle_detect_config; //�Ƿ���������� + sy_command vehicle_recg_config; //�Ƿ���������ʶ�� + sy_command vehicle_recg_supplement_config; //�Ƿ���������ʶ�𲹳�ʶ��(��ͷ��βlogo���ʶ��+����15����)��ǰ�᣺��������ʶ��vehicle_recg_config�� + sy_command vehicle_plate_det_recg_config; //�Ƿ��������Ƽ��ʶ�� + sy_command vehicle_color_config; //�Ƿ�����������ɫʶ�� + sy_command vehicle_pendant_det_config; //�Ƿ�������������ʶ�� + sy_command vehicle_illegal_config; //�Ƿ�������Υ����Ϊ��� + sy_command vehicle_feature_config; //�Ƿ���������������ȡ + //sy_command vehicle_special_config; //�Ƿ���������Ʒ�೵��ʶ�𡣣�ǰ�᣺��������ʶ��vehicle_recg_config�� + //sy_command vehicle_image_quality_config; //�Ƿ���������ͼ��������ʶ�� + sy_command vehicle_motor_tricycle_analysis_config; //�Ƿ�����Ħ�г����ֳ�������Ħ�г��Ƿ�����/Ħ�г���ʻ���Ƿ��ͷ��/ũ�ó��Ƿ����ˣ� + //sy_command vehicle_motor_hs_output_config; //�Ƿ�����Ħ�г�δ��ͷ�����ͷ�����ꡣ��ǰ�᣺����Ħ�г����ֳ�����vehicle_motor_tricycle_analysis_config�� + //sy_command vehicle_stain_vp_config; //�Ƿ������ڵ�����ʶ�� + //sy_command vehicle_muck_truck_cover_config; //�Ƿ������������Ǹ�ʶ��(ǰ�᣺��������Ʒ�೵��ʶ��vehicle_special_config) + //sy_command vehicle_lorry_manned_config; //�Ƿ�������������ʶ�𡣣�ǰ�᣺��������ʶ��vehicle_recg_config�� + sy_command vehicle_manned_config; //�Ƿ��������������ֳ�����ʶ�𡣣�ǰ�᣺��������ʶ��vehicle_recg_config�� - //㷨ʼ - int gpuid; //ָԿid - float vehicle_det_thresld=0.5; // - int min_obj_size=200; //ͷβĿСߣȡֵΧ100~200СڸóߴĹ˵ - float vehicle_plate_det_thresld=0.5; //Ƽ - float vehicle_attribute_det_thresld=0.5; //Լ - float vehicle_logo_det_thresld=0.1; //logo + //�㷨��ʼ������ + int gpuid; //ָ���Կ�id + float vehicle_det_thresld=0.5; //�������� + int min_obj_size=200; //��ͷβ���Ŀ����С���ߣ�����ȡֵ��Χ100~200������С�ڸóߴ�Ĺ��˵��� + float vehicle_plate_det_thresld=0.5; //���Ƽ����� + float vehicle_attribute_det_thresld=0.5; //�����Լ����� + float vehicle_logo_det_thresld=0.1; //��logo������ - float vc_thresld=0.5; //ɫֵ - char* dbPath; //ʶ·· <ǰ֧Ӣ·> - char* models_Path; //ģ͵· <ǰ֧Ӣ·>//20210615 + float vc_thresld=0.5; //����ɫ��ֵ + char* dbPath; //����ʶ��������··�� <��ǰ��֧��Ӣ��·��> + char* models_Path; //����ģ�͵�·�� <��ǰ��֧��Ӣ��·��>//20210615 }va_param; #endif @@ -122,7 +124,7 @@ extern "C" * notes: null *************************************************************************/ VEHICLEANALYSIS_API int va_init(void ** handle, va_param param); - VEHICLEANALYSIS_API int va_acl_init();//һΣȵva_acl_initٵva_init + VEHICLEANALYSIS_API int va_acl_init();//������һ�Σ��ȵ���va_acl_init���ٵ���va_init /************************************************************************* * function: va_release @@ -133,7 +135,7 @@ extern "C" * notes: null *************************************************************************/ VEHICLEANALYSIS_API void va_release(void ** handle); - VEHICLEANALYSIS_API void va_acl_release();//һΣеva_releaseͷˣva_acl_release + VEHICLEANALYSIS_API void va_acl_release();//������һ�Σ������е�va_release���ͷ��ˣ�������va_acl_release /************************************************************************* * function: va_get_version @@ -157,31 +159,31 @@ extern "C" * notes: null *************************************************************************/ VEHICLEANALYSIS_API int va_batch(void * handle, sy_img * img_data_array, int batch_size, va_result *result); - //img_data_arraydeviceݣbatch_size==16ʱù̶16ģͣС16ʱù̶1ģ͡ + //img_data_array��device���ݣ�batch_size==16ʱ���ù̶�16ģ�ͣ�С��16ʱ���ù̶�1ģ�͡� VEHICLEANALYSIS_API int va_batch16_device(void * handle, sy_img * img_data_array, int batch_size, va_result *result); /************************************************************************* * FUNCTION: VA_ComputeSimilarity - * PURPOSE: ȶƶȣͨã + * PURPOSE: �ȶ����ƶȣ�ͨ�ã� * PARAM: - [in] Afea - һͼƬ - [in] Bfea - ڶͼƬ - [in] featuresize - - * RETURN: ƶ + [in] Afea - ��һ��ͼƬ���� + [in] Bfea - �ڶ���ͼƬ���� + [in] featuresize - �������� + * RETURN: ���ƶ� * NOTES: *************************************************************************/ VEHICLEANALYSIS_API float va_compute_similarity(float *Afea, float *Bfea, int featuresize); /************************************************************************* * FUNCTION: va_compute_similarity_byvafeature - * PURPOSE: ȶƶȣva + * PURPOSE: �ȶ����ƶȣ����va������ * PARAM: - [in] Afea - һͼƬva - [in] Bfea - ڶͼƬva - [in] featuresize - VA_FEATURESIZE - * RETURN: ƶ + [in] Afea - ��һ��ͼƬva���� + [in] Bfea - �ڶ���ͼƬva���� + [in] featuresize - ��������VA_FEATURESIZE + * RETURN: ���ƶ� * NOTES: *************************************************************************/ VEHICLEANALYSIS_API float va_compute_similarity_byvafeature(void * handle , float *Afea, float *Bfea, int featuresize); diff --git a/algorithm/vehicle_analysis/vehicle_result.h b/algorithm/vehicle_analysis/vehicle_result.h index 4ca71b9..18a5e68 100644 --- a/algorithm/vehicle_analysis/vehicle_result.h +++ b/algorithm/vehicle_analysis/vehicle_result.h @@ -1,7 +1,7 @@ #include -//---------------- ṹ嶨 ------------------// +//---------------- ������������ṹ�嶨�� ------------------// -//мϢ +//�м�����Ϣ #ifndef VPT_INFO_MIDD_TEMP_ #define VPT_INFO_MIDD_TEMP_ typedef struct vpt_info_midd_temp @@ -10,7 +10,7 @@ typedef struct vpt_info_midd_temp sy_rect obj_rect; int obj_index; float obj_score; - int dis; //20220308ĿļȨ + int dis; //20220308�����Ŀ���ļ�Ȩ���� }vpt_info_midd_temp; #endif @@ -20,8 +20,8 @@ typedef struct vpt_info_midd_temp -//1. -#define MAXCARCOUNT 100 //֧100 +//1.������� +#define MAXCARCOUNT 100 //֧�����100������� #ifndef VD_RESULT_ #define VD_RESULT_ @@ -33,28 +33,28 @@ typedef struct vd_result #endif -//2.ɫ +//2.����ɫ��� #ifndef VC_RESULT_ #define VC_RESULT_ typedef struct vc_result { float score; - int index;//ɫ0-12Ӧ"", "", "", "", "", "", "", "", "", "", "", "", "" + int index;//����ɫ����0-12����Ӧ"��", "��", "��", "��", "��", "��", "��", "��", "��", "��", "��", "��", "��" }vc_result; #endif -//3.ʶ +//3.����ʶ���� #ifndef VR_RESULT_ #define VR_RESULT_ -typedef struct vr_result // +typedef struct vr_result //��� { - char vehicle_brand[260]; //Ʒ - char vehicle_subbrand[260]; //Ʒ - char vehicle_issue_year[260]; // - char vehicle_type[260]; // - char freight_ton[260]; //ּ - float name_score; //ʶŶ + char vehicle_brand[260]; //����Ʒ�� + char vehicle_subbrand[260]; //������Ʒ�� + char vehicle_issue_year[260]; //������� + char vehicle_type[260]; //�������� + char freight_ton[260]; //�����ּ� + float name_score; //ʶ�����Ŷ� int index; }vr_result; #endif @@ -62,20 +62,20 @@ typedef struct vr_result // -//4.Ƽʶ -#define PLATENUM 8 //ƺλ -#define MAXPLATECOUNT 20 //֧20Ƽ -// -#define SINGLETYPE_BLUE 0 //ɫ -#define SINGLETYPE_YELLOW 1 //Żɫ -#define SINGLETYPE_WHITE 2 //Űɫ -#define SINGLETYPE_BLACK 3 //źɫ -#define DOUBLETYPE_YELLOW 4 //˫Żɫ -#define DOUBLETYPE_WHITE 5 //˫Űɫ -#define NEWENERGYTYPE_YELLOWGREEN 6 //Դɫ -#define NEWENERGYTYPE_WHITEGRA 7 //Դɫ +//4.���Ƽ��ʶ���� +#define PLATENUM 8 //���ƺ���λ�� +#define MAXPLATECOUNT 20 //֧�����20�����Ƽ�� +//�������� +#define SINGLETYPE_BLUE 0 //������ɫ +#define SINGLETYPE_YELLOW 1 //���Ż�ɫ +#define SINGLETYPE_WHITE 2 //���Ű�ɫ +#define SINGLETYPE_BLACK 3 //���ź�ɫ +#define DOUBLETYPE_YELLOW 4 //˫�Ż�ɫ +#define DOUBLETYPE_WHITE 5 //˫�Ű�ɫ +#define NEWENERGYTYPE_YELLOWGREEN 6 //����Դ����ɫ +#define NEWENERGYTYPE_WHITEGRA 7 //����Դ����ɫ -//ƺ +//���ƺ��� #ifndef VPLATENUM_RESULT_ #define VPLATENUM_RESULT_ typedef struct vplate_num @@ -86,18 +86,18 @@ typedef struct vplate_num }vplate_num; #endif -//ڵʶ -//#define COVER 0 //ȫڵ -//#define NO_COVER 1 //޳ -//#define NORMAL 2 // -//#define PARTIAL 3 //ڵ +//�����ڵ�ʶ�� +//#define COVER 0 //ȫ���ڵ� +//#define NO_COVER 1 //�޳��� +//#define NORMAL 2 //�������� +//#define PARTIAL 3 //�����ڵ� #ifndef SVP_RESULT_ #define SVP_RESULT_ typedef struct stain_vplate_result { - float score; //ʶŶ - int type; //COVER NO_COVER NORMAL PARTIAL + float score; //ʶ�����Ŷ� + int type; //COVER ���� NO_COVER ���� NORMAL ���� PARTIAL }stain_vplate_result; #endif @@ -105,31 +105,31 @@ typedef struct vplate_num #define VPLATE_RESULTS_ typedef struct vplate_results { - sy_rect rect;//Ƽ - float detect_score;//ƼŶ - vplate_num recg[PLATENUM];//ʶ - float num_score;//ʶŶ - int type; //ͣ0-ɫ 1-Żɫ 2-Űɫ 3-źɫ 4-˫Żɫ 5-˫Űɫ 6-Դɫ 7-Դɫ + sy_rect rect;//���Ƽ������ + float detect_score;//���Ƽ�����Ŷ� + vplate_num recg[PLATENUM];//ʶ������� + 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; //�����ڵ�ʶ���� + int special_type; //���泵�ơ���ʱ���ơ����ٳ��ơ�0-common,1-temporary_license_plate,2-low_speed_license_plate. }vplate_results; #endif -//5.Խ +//5.�����Խ�� #define VPD_FACE_FEATURESIZE 512 -//Ľṹvpd.hеIJһˡ +//����Ľṹ����vpd.h�еIJ�һ���ˡ� #ifndef VPENDANTD_RESULT_ #define VPENDANTD_RESULT_ typedef struct v_pendant_d_info { sy_rect rect; - int index; // 0-driver 1-face 2-belt 3-sunshield 4-tag 5-decoration 6-napkinbox 7-zhuanjt 8-callPhone 9-sunRoof 10-holder 11-smoke - float confidence; //Ŷ + int index; //���� 0-driver 1-face 2-belt 3-sunshield 4-tag 5-decoration 6-napkinbox 7-zhuanjt 8-callPhone 9-sunRoof 10-holder 11-smoke + float confidence; //���Ŷ� - int driver_copilot_info; //ԵݸϢ0-ݸݣ1-ݣ2-ݣֻ˾ ȫ塢绰 ݸݣĬ0 - //float feature[VPD_FACE_FEATURESIZE]; //е + int driver_copilot_info; //�����Ե����ݸ�����Ϣ��0-�������ݸ��ݣ�1-���ݣ�2-���ݣ���ֻ��˾�� ����������ȫ���������塢��绰������ �������ݸ��ݣ���������Ĭ�������0�� + //float feature[VPD_FACE_FEATURESIZE]; //�������е����������� }v_pendant_d_info; typedef struct v_pendant_d_result @@ -140,43 +140,43 @@ typedef struct v_pendant_d_result #endif -//6.Υ -#define ILLEGAL 1000 //Υ -#define lEGAL 1001 //Ϸ -#define UNCERTAINTY 1002 //ȷ -#define NOBODY 1003 // -#define SOMEBODY 1004 // +//6.��Υ���� +#define ILLEGAL 1000 //Υ�� +#define lEGAL 1001 //�Ϸ� +#define UNCERTAINTY 1002 //��ȷ�� +#define NOBODY 1003 //���� +#define SOMEBODY 1004 //���� #ifndef VID_RESULT_ #define VID_RESULT_ typedef struct vid_details { - int status; //ǷΥ ILLEGALΥ( δϵȫ 绰) lEGALδΥ(δ ϵȫ δ绰) UNCERTAINTYȷ - float confidence; //Ŷ + int status; //�Ƿ�Υ�� ILLEGAL��Υ��(���� δϵ��ȫ�� ��绰) lEGAL��δΥ��(δ���� ϵ��ȫ�� δ��绰) UNCERTAINTY����ȷ�� + float confidence; //���Ŷ� }vid_details; typedef struct vid_info { - vid_details belt; //Ƿϵȫ ILLEGALδϵȫ LEGALϵȫ - vid_details smoke; //Ƿ ILLEGAL LEGALδ - vid_details phone; //Ƿʹõ绰 ILLEGALʹõ绰 LEGALδʹõ绰 - vid_details call; //Ƿ绰 ILLEGAL绰 LEGALδ绰 - vid_details person; //Ƿ NOBODY SOMEBODY: + vid_details belt; //�Ƿ�ϵ��ȫ�� ILLEGAL��δϵ��ȫ�� LEGAL��ϵ��ȫ�� + vid_details smoke; //�Ƿ���� ILLEGAL������ LEGAL��δ���� + vid_details phone; //�Ƿ�ʹ�õ绰 ILLEGAL��ʹ�õ绰 LEGAL��δʹ�õ绰 + vid_details call; //�Ƿ��绰 ILLEGAL����绰 LEGAL��δ��绰 + vid_details person; //�Ƿ����� NOBODY������ SOMEBODY:���� }vid_info; typedef struct vid_result { - vid_info driver; //ʻ - vid_info copilot; //ʻ + vid_info driver; //����ʻ + vid_info copilot; //����ʻ }vid_result; #endif -//7.Գѳ -//#define FEATURESIZE 256 // -//#define VA_FEATURESIZE 268 // -#define VA_FEATURESIZE 520 // +//7.�Գ��ѳ���� +//#define FEATURESIZE 256 //�������� +//#define VA_FEATURESIZE 268 //�������� +#define VA_FEATURESIZE 520 //�������� #ifndef VF_RESULT_ #define VF_RESULT_ typedef struct vf_result @@ -185,13 +185,13 @@ typedef struct vf_result }vf_result; #endif -//8.Ʒ೵ +//8.����Ʒ�೵�� #ifndef VS_INFORMATION_ #define VS_INFORMATION_ typedef struct vs_information { - float score;//Ŷ - int index; //0-10:"", "װ", "", "", "˳","Ԯ", "", "", "ɨ", "泵","ΣƷ" + float score;//���������Ŷ� + int index; //����������0-10:"����", "��װ��", "����", "������", "���˳�","��Ԯ��", "������", "������", "��ɨ��", "�泵��","Σ��Ʒ��" }vs_information; #endif @@ -200,66 +200,66 @@ typedef struct vs_information #define VS_RESULT_ typedef struct vs_result { - vs_information vs_info[2];//Ϣ - int count;//͵1ڲûֵ + vs_information vs_info[2];//��������Ϣ + int count;//�����͵���������1���ڲ�û����ֵ }vs_result; #endif -//9.Ǹ -#define COVER 1012 //Ǹ -#define NOCOVER_NODIRT 1013 //޸ -#define NOCOVER_DIRT 1014 //޸ +//9.�������Ǹ� +#define COVER 1012 //�Ǹ� +#define NOCOVER_NODIRT 1013 //�޸����� +#define NOCOVER_DIRT 1014 //�޸����� #ifndef MUCKTRUCKCOVER_RESULT_ #define MUCKTRUCKCOVER_RESULT_ typedef struct mucktruckcover_result { - int status; //ǷǸ COVER-Ǹ NOCOVER_NODIRT-޸ NOCOVER_DIRT-޸ - float confidence; //Ŷ + int status; //�Ƿ�Ǹ� COVER-�Ǹ� NOCOVER_NODIRT-�޸����� NOCOVER_DIRT-�޸����� + float confidence; //���Ŷ� }mucktruckcover_result; #endif -//11.ĦгǷ/ĦгʻǷͷ/ֳǷ -#define MOTOR_MANNED 1005 //Ħг -#define MOTOR_NOT_MANNED 1006 //Ħгδ -#define MOTOR_DRIVER_HELMETED 1007 //Ħгʻ˴ͷ -#define MOTOR_DRIVER_NOT_HELMETED 1008 //Ħгʻδͷ -#define TRICYCLE_MANNED 1009 //ֳ -#define TRICYCLE_NOT_MANNED 1010 //ֳδ +//11.Ħ�г��Ƿ�����/Ħ�г���ʻ���Ƿ��ͷ��/���ֳ��Ƿ����� +#define MOTOR_MANNED 1005 //Ħ�г����� +#define MOTOR_NOT_MANNED 1006 //Ħ�г�δ���� +#define MOTOR_DRIVER_HELMETED 1007 //Ħ�г���ʻ�˴�ͷ�� +#define MOTOR_DRIVER_NOT_HELMETED 1008 //Ħ�г���ʻ��δ��ͷ�� +#define TRICYCLE_MANNED 1009 //���ֳ����� +#define TRICYCLE_NOT_MANNED 1010 //���ֳ�δ���� #ifndef MTA_RESULT_ #define MTA_RESULT_ typedef struct mta_details { - int status; //ĦгǷ/ĦгʻǷͷ/ֳǷ UNCERTAINTYȷ - float confidence; //Ŷ + int status; //Ħ�г��Ƿ�����/Ħ�г���ʻ���Ƿ��ͷ��/���ֳ��Ƿ����� UNCERTAINTY����ȷ�� + float confidence; //���Ŷ� }mta_details; typedef struct mta_result { - mta_details motor_driver_helmeted; //ĦгʻǷͷ - mta_details motor_manned; //ĦгǷ - mta_details tricycle_manned; //ֳǷ - vd_result motor_driver_hs_rect; //Ħгʻˣδͷʱͷ + mta_details motor_driver_helmeted; //Ħ�г���ʻ���Ƿ��ͷ�� + mta_details motor_manned; //Ħ�г��Ƿ����� + mta_details tricycle_manned; //���ֳ��Ƿ����� + vd_result motor_driver_hs_rect; //Ħ�г���ʻ�ˣ�δ��ͷ��ʱ�����ͷ������ }mta_result; #endif -//12.Ƿ +//12.�Ƿ����� #ifndef MANNED_RESULT_ #define MANNED_RESULT_ typedef struct manned_result { - //int status; //Ƿ 0-ǻֳֳδ˻δˣ1-ˣ2-ֳ - //float confidence; //Ŷ + //int status; //�Ƿ����� 0-���ǻ����������ֳ������ֳ�δ���˻����δ���ˣ�1-�������ˣ�2-���ֳ����� + //float confidence; //���Ŷ� - vd_result hs_rect[10]; //ͷ - int hs_count; //ͷ + vd_result hs_rect[10]; //ͷ������ + int hs_count; //ͷ����� }manned_result; #endif -- libgit2 0.21.4