mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
fix.尝试修复识别“干员被选择”时偶现的崩溃问题
This commit is contained in:
@@ -844,9 +844,9 @@
|
||||
"algorithm": "justReturn",
|
||||
"rectMove_Doc": "基于笑脸的位置移动",
|
||||
"rectMove": [
|
||||
-8,
|
||||
0,
|
||||
-202,
|
||||
82,
|
||||
74,
|
||||
100
|
||||
]
|
||||
},
|
||||
@@ -1233,9 +1233,9 @@
|
||||
255
|
||||
],
|
||||
"rectMove": [
|
||||
13,
|
||||
0,
|
||||
-252,
|
||||
82,
|
||||
74,
|
||||
320
|
||||
]
|
||||
},
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 14 KiB |
@@ -63,7 +63,8 @@ bool asst::InfrastMoodImageAnalyzer::mood_detect()
|
||||
prg_rect.y += smiley.rect.y;
|
||||
// mood_analyze是可以识别长度不够的心情条的
|
||||
// 这里主要是为了算立绘hash,宽度不够的hash不好算,直接忽略了
|
||||
if (prg_rect.x + prg_rect.width >= m_image.cols) {
|
||||
if (prg_rect.x + prg_rect.width >= roi.x + roi.width
|
||||
|| prg_rect.x < roi.x) {
|
||||
continue;
|
||||
}
|
||||
#ifdef LOG_TRACE
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
<Filter>头文件\Task</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="InfrastOfficeTask.h">
|
||||
<Filter>头文件</Filter>
|
||||
<Filter>头文件\Task</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -309,7 +309,7 @@
|
||||
<Filter>源文件\Task</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="InfrastOfficeTask.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
<Filter>源文件\Task</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user