mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
feat.支持肉鸽干员技能选择字段
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user