Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ bool EventDialogDetector::process_frame(const ImageViewRGB32& frame, WallClock t
auto dialog_bg_color_check = [](const ImageStats & stats) -> bool{
// cout << "stats " << stats.average << " " << stats.stddev << endl;
const auto& avg = stats.average;
return avg.r < 50.0 && avg.g < 70.0 && avg.b < 100.0 && avg.r < avg.b * 1.3 && avg.g < avg.b * 1.3 && stats.stddev.sum() < 20.;
return avg.r < 60.0 && avg.g < 80.0 && avg.b < 120.0 && avg.r < avg.b * 1.4 && avg.g < avg.b * 1.4 && stats.stddev.sum() < 30.;
};

ImageStats left_blue = image_stats(extract_box_reference(frame, m_left_blue));
Expand Down