mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
fix: 修复技能识别预处理错误
This commit is contained in:
@@ -42,8 +42,6 @@ bool asst::BattleSkillReadyImageAnalyzer::analyze()
|
||||
for (int j = 0; j < image.cols; j++) {
|
||||
float value = static_cast<float>(image.at<cv::Vec3b>(i, j)[k]);
|
||||
value /= 255;
|
||||
value -= 0.5f; // mean
|
||||
value /= 0.5f; // std
|
||||
input[count++] = value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user