feat.支持肉鸽干员技能选择字段

This commit is contained in:
MistEO
2022-03-13 19:19:19 +08:00
parent 92c27fcaa3
commit cd007ee786
23 changed files with 364 additions and 33 deletions

View File

@@ -145,6 +145,15 @@ void asst::OcrImageAnalyzer::sort_result()
);
}
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;
}
);
}
void asst::OcrImageAnalyzer::sort_result_by_required()
{
if (m_required.empty()) {