sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43972
[Bug 1720335] [NEW] [1.1.1 & 1.1.2] Text OCR, check version
Public bug reported:
Hello
When I tried to find a version for something with "multi dot" (find("3.43.03")) in the find i got a "FindFailed".
So i tried the unicode octal code : "\056" in the string, find("3\05643\05603"), but same error.
I use Sikuli 1.1.1 and 1.1.2 on Windows 7 x64 with java 8
White word page with only the text "3.43.03" in Courier New, 9
##### START CODE #####
Settings.OcrTextRead = True
Settings.OcrTextSearch = True
Settings.OcrLanguage = 'fra'
import org.sikuli.script.TextRecognizer as TR
TR.reset()
TR.getInstance()
SCREEN.setRaster(3,3)
R = SCREEN.getCell(1,1)
R.highlight(1)
txt = R.text()
popup(txt + " \056")
R2 = R.find("3.43.03") # HERE [error] FindFailed ( 3.43.03 as text )
R2.highlight(5)
##### END CODE #####
thanks for your time.
** Affects: sikuli
Importance: Undecided
Status: New
** Tags: 1.1.1 1.1.2 find ocr text version
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1720335
Title:
[1.1.1 & 1.1.2] Text OCR, check version
Status in Sikuli:
New
Bug description:
Hello
When I tried to find a version for something with "multi dot" (find("3.43.03")) in the find i got a "FindFailed".
So i tried the unicode octal code : "\056" in the string, find("3\05643\05603"), but same error.
I use Sikuli 1.1.1 and 1.1.2 on Windows 7 x64 with java 8
White word page with only the text "3.43.03" in Courier New, 9
##### START CODE #####
Settings.OcrTextRead = True
Settings.OcrTextSearch = True
Settings.OcrLanguage = 'fra'
import org.sikuli.script.TextRecognizer as TR
TR.reset()
TR.getInstance()
SCREEN.setRaster(3,3)
R = SCREEN.getCell(1,1)
R.highlight(1)
txt = R.text()
popup(txt + " \056")
R2 = R.find("3.43.03") # HERE [error] FindFailed ( 3.43.03 as text )
R2.highlight(5)
##### END CODE #####
thanks for your time.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1720335/+subscriptions
Follow ups