Tests: more OCR tuning
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Tue, 03 Oct 2023 21:33:13 +0200
changeset 3853 e1cfb03e6582
parent 3852 d3e3c6924c49
child 3854 d29d67e86532
Tests: more OCR tuning
tests/ide_tests/sikuliberemiz.py
tests/ide_tests/svghmi_basic.sikuli/svghmi_basic.py
--- a/tests/ide_tests/sikuliberemiz.py	Mon Oct 02 16:21:54 2023 +0200
+++ b/tests/ide_tests/sikuliberemiz.py	Tue Oct 03 21:33:13 2023 +0200
@@ -216,6 +216,7 @@
         # 1 use RNN Tesseract (better but non-repeatable)
         # 2 use both
         self.ocropts.oem(0)
+        self.ocropts.psm(12)
         self.ocropts.smallFont()
 
         self.imgnum = 0
--- a/tests/ide_tests/svghmi_basic.sikuli/svghmi_basic.py	Mon Oct 02 16:21:54 2023 +0200
+++ b/tests/ide_tests/svghmi_basic.sikuli/svghmi_basic.py	Tue Oct 03 21:33:13 2023 +0200
@@ -35,6 +35,8 @@
     app.waitForChangeAndIdleStdout()
     # app.WaitIdleUI()
 
+    app.ocropts.fontSize(20)
+    #app.ocropts.textHeight(25)
     app.click("OFF")
 
     # wait 10 seconds for 10 Grumpfs