diff --git a/src/ai_engine_module/VehicleAnalysis.cpp b/src/ai_engine_module/VehicleAnalysis.cpp index da8a640..93f714e 100644 --- a/src/ai_engine_module/VehicleAnalysis.cpp +++ b/src/ai_engine_module/VehicleAnalysis.cpp @@ -18,8 +18,8 @@ int VehicleAnalysis::init(int devId, std::string sdk_root, int max_batch_size) { param.vehicle_pendant_det_config= SY_CONFIG_OPEN; //6.开启车属性检测识别 param.vehicle_motor_tricycle_analysis_config= SY_CONFIG_OPEN; //8.摩托车分析 param.vehicle_manned_config= SY_CONFIG_OPEN; //8.开启载人分析 + param.vehicle_illegal_config= SY_CONFIG_OPEN; //7.开启车违规 param.vehicle_color_config= SY_CONFIG_CLOSE; //3.开启车颜色识别 - param.vehicle_illegal_config= SY_CONFIG_CLOSE; //7.开启车违规 param.vehicle_feature_config= SY_CONFIG_CLOSE; //8.开启车辆特征提取 param.gpuid=devId; diff --git a/src/village_inc.h b/src/village_inc.h index 20b1098..59ef771 100644 --- a/src/village_inc.h +++ b/src/village_inc.h @@ -52,7 +52,7 @@ typedef struct VehicleInfo { int type{-1}; int vpt_type{0}; // person 人;bike 自行车 ; motor 摩托车;tricycle 三轮车;car 汽车; bigbus 大巴;lorry 货车;tractor 拖拉机;midibus 面包/中巴 - int rainshed{1}; //是否安装雨棚, 0 有雨棚 1 无雨棚 + int rainshed{-1}; //是否安装雨棚, 0 有雨棚 1 无雨棚 float rainshed_prob{0.0}; int truck_manned{0}; int motor_manned{0};