sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56173
[Question #694279]: Region.text() - number Recognition
New question #694279 on Sikuli:
https://answers.launchpad.net/sikuli/+question/694279
Hello there ...
I have some issues to recognize numbers using "Region.text()".
Is weird this scenario because it recognize numbers with 3 digits, sometimes it recognize 2 digits (to be specific from the number 20).
I tried with this code:
MyRegion = Region (288, 321, 32, 32)
MyNumbers = MyRegion.text()
print(MyNumbers)
uprint(MyNumbers)
Also:
MyRegion = Region (288, 321, 32, 32)
MyNumbers = int(MyRegion.text())
print(MyNumbers)
uprint(MyNumbers)
The numbers look like this:
https://ibb.co/LQH3d7h
When the number changes from 0 up to 19, it doesn't find anything.
Using region.find() or region.exists() works perfect but i need to get the numbers and compare them.
Any recommendation?
Thanks, regards!!
Am using linux mint 20
tesseract 4.1
SikuliX 2.0.4
Java 14
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.