← Back to team overview

sikuli-driver team mailing list archive

[Bug 1319685] [NEW] [request] want support for better control over Tesseract options and features

 

Public bug reported:

Hi,
I'm using Sikuli 1.0.1 for a script editor application
I use this for any sort of automation, but as soon as I started bot-ing  for games I found myself in need to understand Tesseract deeper.
So now I need to use some custom configurations or parameters, but I'm not sure how to do it even using the low level native java wrappers.
>From javadoc Vision class has a setParameter method, but the value is float, while some parameter I need to set are strings (white/black lists)
I could config them via a file in tessdata/config but I don't see any method for the config file param. In tesseract documentation this should be inputed in the command line, but I don't know how to provide this to the java class, nor I understand if VisionProxyJNI could be usefull for this.

I would have liked to see the source of Vision class to reimplement what
I need, but I can't find the source code on git...

** Affects: sikuli
     Importance: Medium
     Assignee: RaiMan (raimund-hocke)
         Status: In Progress

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

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

** Changed in: sikuli
    Milestone: None => 1.2.0

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

Title:
  [request] want support for better control over Tesseract options and
  features

Status in Sikuli:
  In Progress

Bug description:
  Hi,
  I'm using Sikuli 1.0.1 for a script editor application
  I use this for any sort of automation, but as soon as I started bot-ing  for games I found myself in need to understand Tesseract deeper.
  So now I need to use some custom configurations or parameters, but I'm not sure how to do it even using the low level native java wrappers.
  From javadoc Vision class has a setParameter method, but the value is float, while some parameter I need to set are strings (white/black lists)
  I could config them via a file in tessdata/config but I don't see any method for the config file param. In tesseract documentation this should be inputed in the command line, but I don't know how to provide this to the java class, nor I understand if VisionProxyJNI could be usefull for this.

  I would have liked to see the source of Vision class to reimplement
  what I need, but I can't find the source code on git...

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


Follow ups

References