fix: 修复技能识别预处理错误

This commit is contained in:
MistEO
2023-03-09 20:30:24 +08:00
parent 405a4939ef
commit 0b3c04568a

View File

@@ -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;
}
}