diff --git a/src/ai_engine_module/VehiclePlate.cpp b/src/ai_engine_module/VehiclePlate.cpp index 3aaeb30..c496b24 100644 --- a/src/ai_engine_module/VehiclePlate.cpp +++ b/src/ai_engine_module/VehiclePlate.cpp @@ -84,6 +84,7 @@ vector VehiclePlate::process(vector vec_gpuMe res.top_ = plate_info.rect.top_; res.width_ = plate_info.rect.width_; res.height_ = plate_info.rect.height_; + res.detect_score = plate_info.detect_score; memcpy(res.recg, plate_info.recg, sizeof(PlateNum) * 8); res.num_score = plate_info.num_score; res.type = plate_info.type; diff --git a/src/demo/demo.cpp b/src/demo/demo.cpp index 320bb1e..babbeb7 100755 --- a/src/demo/demo.cpp +++ b/src/demo/demo.cpp @@ -215,6 +215,7 @@ void show_result(ObjectData obj) printf("type: %d \n", plate_info.type); printf("state:%d %f\n", plate_info.state, plate_info.state_score); } + printf("\n"); string result_path = "./res/result/" + obj.task_id + "_" + to_string(obj.object_id) + ".jpg"; cv::imwrite(result_path, image);