fix.修复自动抄作业干员名识别错的问题

This commit is contained in:
MistEO
2022-04-03 00:59:58 +08:00
parent 01d5dd2941
commit a1e889d9bb

View File

@@ -154,7 +154,7 @@ void asst::OcrImageAnalyzer::sort_result_by_score()
{
std::sort(m_ocr_result.begin(), m_ocr_result.end(),
[](const TextRect& lhs, const TextRect& rhs) -> bool {
return lhs.score < rhs.score;
return lhs.score > rhs.score;
}
);
}