Commit bb2c60a8587f6418ef576c572c2a570c8bac9045
1 parent
364a93d7
修复 vehicle_illegal_det_res 未输出问题
Showing
2 changed files
with
2 additions
and
2 deletions
src/ai_engine_module/VehicleAnalysis.cpp
... | ... | @@ -18,8 +18,8 @@ int VehicleAnalysis::init(int devId, std::string sdk_root, int max_batch_size) { |
18 | 18 | param.vehicle_pendant_det_config= SY_CONFIG_OPEN; //6.开启车属性检测识别 |
19 | 19 | param.vehicle_motor_tricycle_analysis_config= SY_CONFIG_OPEN; //8.摩托车分析 |
20 | 20 | param.vehicle_manned_config= SY_CONFIG_OPEN; //8.开启载人分析 |
21 | + param.vehicle_illegal_config= SY_CONFIG_OPEN; //7.开启车违规 | |
21 | 22 | param.vehicle_color_config= SY_CONFIG_CLOSE; //3.开启车颜色识别 |
22 | - param.vehicle_illegal_config= SY_CONFIG_CLOSE; //7.开启车违规 | |
23 | 23 | param.vehicle_feature_config= SY_CONFIG_CLOSE; //8.开启车辆特征提取 |
24 | 24 | |
25 | 25 | param.gpuid=devId; | ... | ... |
src/village_inc.h
... | ... | @@ -52,7 +52,7 @@ typedef struct VehicleInfo { |
52 | 52 | int type{-1}; |
53 | 53 | |
54 | 54 | int vpt_type{0}; // person 人;bike 自行车 ; motor 摩托车;tricycle 三轮车;car 汽车; bigbus 大巴;lorry 货车;tractor 拖拉机;midibus 面包/中巴 |
55 | - int rainshed{1}; //是否安装雨棚, 0 有雨棚 1 无雨棚 | |
55 | + int rainshed{-1}; //是否安装雨棚, 0 有雨棚 1 无雨棚 | |
56 | 56 | float rainshed_prob{0.0}; |
57 | 57 | int truck_manned{0}; |
58 | 58 | int motor_manned{0}; | ... | ... |