overlay and calibration

This commit is contained in:
Boki 2026-02-19 20:00:23 -05:00
parent 3062993f7c
commit 3456e0d62a
24 changed files with 1193 additions and 439 deletions

View file

@ -54,6 +54,12 @@ public class ScreenReader : IScreenReader
return Task.FromResult(_pythonBridge.OcrFromBitmap(processed));
}
if (preprocess == "clahe")
{
using var processed = ImagePreprocessor.PreprocessClahe(bitmap);
return Task.FromResult(_pythonBridge.OcrFromBitmap(processed));
}
return Task.FromResult(_pythonBridge.OcrFromBitmap(bitmap));
}