Skip to content

Commit

Permalink
Remove debug output (#166)
Browse files Browse the repository at this point in the history
* Update ResultRecognizer.hpp

* Update ResultRecognizer.hpp

* Update buildspec.json
  • Loading branch information
umireon authored Apr 16, 2024
1 parent 4ab6808 commit 4260168
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion buildspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"name": "obs-pokemon-sv-screen-builder",
"displayName": "OBS Pokémon SV Screen Builder",
"version": "0.7.0",
"version": "0.7.1",
"author": "Kaito Udagawa",
"website": "https://github.com/umireon/obs-pokemon-sv-screen-builder",
"email": "[email protected]",
Expand Down
2 changes: 0 additions & 2 deletions src/Recognizers/ResultRecognizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ class ResultRecognizer {
double maxVal, total = static_cast<double>(imageHSV.total());
cv::Point maxIdx;
cv::minMaxLoc(hist, nullptr, &maxVal, nullptr, &maxIdx);
obs_log(LOG_INFO, "ResultRecognizer: %d %f %d", total, maxVal,
maxIdx.y);
if (maxVal > total * winRatio && maxIdx.y == winMaxIndex) {
return "WIN";
} else if (maxVal > total * loseRatio &&
Expand Down

0 comments on commit 4260168

Please sign in to comment.