[android] fix lint

This commit is contained in:
pengzhendong 2022-09-05 07:35:00 +08:00
parent d91cc95edb
commit 3e21df512b

View File

@ -69,8 +69,8 @@ void spot_thread_func() {
max_hi_xiaowen = std::max(prob[t][0], max_hi_xiaowen); max_hi_xiaowen = std::max(prob[t][0], max_hi_xiaowen);
max_nihao_wenwen = std::max(prob[t][1], max_nihao_wenwen); max_nihao_wenwen = std::max(prob[t][1], max_nihao_wenwen);
} }
float detect_prob = max_hi_xiaowen + max_nihao_wenwen; float max_prob = max_hi_xiaowen + max_nihao_wenwen;
result = std::to_string(offset) + "prob: " + std::to_string(detect_prob); result = std::to_string(offset) + " prob: " + std::to_string(max_prob);
offset += prob.size(); offset += prob.size();
} }
} }