Skip to content

Commit 4a39ec6

Browse files
committed
Fix SV dialog detector.
1 parent 847b640 commit 4a39ec6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

SerialPrograms/Source/PokemonSV/Inference/Dialogs/PokemonSV_DialogArrowDetector.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ bool is_dialog_arrow(const ImageViewRGB32& image, const WaterfillObject& object,
7272
double rmsd = black_arrow
7373
? DIALOG_ARROW_BLACK().rmsd(cropped)
7474
: DIALOG_ARROW_WHITE().rmsd(cropped);
75-
// cout << "rmsd = " << rmsd << endl;
7675
return rmsd <= 120;
7776
}
7877

SerialPrograms/Source/PokemonSV/Inference/Dialogs/PokemonSV_DialogDetector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ bool DialogBoxDetector::detect(const ImageViewRGB32& screen){
8585

8686
AdvanceDialogDetector::AdvanceDialogDetector(Color color, DialogType type)
8787
: m_box(color, true, type)
88-
, m_arrow(0.710, 0.850, 0.030, 0.042)
88+
, m_arrow(0.710, 0.850, 0.030, 0.045)
8989
{}
9090
void AdvanceDialogDetector::make_overlays(VideoOverlaySet& items) const{
9191
m_box.make_overlays(items);

0 commit comments

Comments
 (0)