← Back to team overview

sikuli-driver team mailing list archive

[Bug 1720335] Re: [1.1.1 & 1.1.2] Text OCR, check version

 

** Changed in: sikuli
       Status: New => Won't Fix

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Summary changed:

- [1.1.1 & 1.1.2] Text OCR, check version
+ [1.1.1 & 1.1.2] Text OCR, check version --- one has to live with all the weakness

-- 
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 --- one has to live with all
  the weakness

Status in Sikuli:
  Won't Fix

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


References