← Back to team overview

sikuli-driver team mailing list archive

[Bug 1548393] Re: Changing language in Tesseract does not seem to work

 

** Changed in: sikuli
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1548393

Title:
  Changing language in Tesseract does not seem to work

Status in Sikuli:
  Fix Released

Bug description:
  My tests are written in English and do a lookup to click menus in other languages, and they fail in these languages.  For example, to click on "File" in Japanese, I look up 
  "File"="ファイル" and then do a 

  click('ファイル')

  which doesn't work.  If observed this in Russian, Traditional and
  Simplified Chinese, Japanese and Korean.  To check this, I ran
  Tesseract natively on my Mac and it works.

  In Sikuli, I do:

  # -*- coding: utf-8 -*-
  Settings.OcrTextSearch = True
  Settings.OcrTextRead = True
  Settings.OcrLanguage = 'rus'
  TR.reset()

  file_menu = "файл"
  click(file_menu)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1548393/+subscriptions


References