Switch to VariableColorButton for OCR and color match
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled

This commit is contained in:
WarmUpTill
2026-06-29 18:42:35 +02:00
committed by WarmUpTill
parent 0a2e2cd771
commit c07c00325f
10 changed files with 51 additions and 115 deletions

View File

@@ -385,7 +385,8 @@ void PreviewImage::MarkOCRMatch(QImage &screenshot,
"AdvSceneSwitcher.condition.video.ocrMatchFail"));
return;
}
auto text = RunOCR(ocrParams->GetOCR(), screenshot, ocrParams->color,
auto text = RunOCR(ocrParams->GetOCR(), screenshot,
ocrParams->color.GetValue(),
ocrParams->colorThreshold);
if (!text) {