fix: 获得排异反应的干员无法选择技能

fix #13618
This commit is contained in:
uye
2025-08-13 15:59:27 +08:00
parent f460a03859
commit 697e780481
2 changed files with 2 additions and 3 deletions

View File

@@ -334,8 +334,8 @@
"fullMatch": true,
"text": [],
"roi": [210, 8, 120, 20],
"specificRect_Doc": "x拿来当文字灰度二值化下限用",
"specificRect": [95, 0, 0, 0]
"binThresholdDoc": "代码中使用,所以忽略 binThreshold 的使用条件",
"binThreshold": [95, 255]
},
"RoguelikeSkillSelectionTeamFull": {
"roi": [135, 22, 1032, 668],

View File

@@ -50,7 +50,6 @@ std::string asst::RoguelikeSkillSelectionImageAnalyzer::name_analyze(const Rect&
{
RegionOCRer analyzer;
auto name_task_ptr = Task.get<OcrTaskInfo>("RoguelikeSkillSelectionName");
analyzer.set_bin_threshold(name_task_ptr->specific_rect.x);
analyzer.set_task_info(name_task_ptr);
analyzer.set_image(m_image);
analyzer.set_roi(roi.move(name_task_ptr->roi));