[sikuli] 190/385: minor

Gilles Filippini pini at moszumanska.debian.org
Sun Jun 29 19:26:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.

commit 5deca813bd8a19e1450ae4b5d61b26d43198a9ec
Author: Raimund Hocke <info at its-me-raiman.de>
Date:   Fri Jan 31 14:43:15 2014 +0100

    minor
---
 Tesseract4Sikuli/src/main/java/org/sikuli/tesseract/Run.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Tesseract4Sikuli/src/main/java/org/sikuli/tesseract/Run.java b/Tesseract4Sikuli/src/main/java/org/sikuli/tesseract/Run.java
index abb8dce..850cf5b 100644
--- a/Tesseract4Sikuli/src/main/java/org/sikuli/tesseract/Run.java
+++ b/Tesseract4Sikuli/src/main/java/org/sikuli/tesseract/Run.java
@@ -38,7 +38,7 @@ public class Run
         int bytespp = bpp / 8;
         int bytespl = (int) Math.ceil(image.getWidth() * bpp / 8.0);
 
-        TessAPI.TessBaseAPISetPageSegMode(handle, TessAPI.TessPageSegMode.PSM_SINGLE_LINE);
+        TessAPI.TessBaseAPISetPageSegMode(handle, TessAPI.TessPageSegMode.PSM_AUTO);
         TessAPI.TessBaseAPISetImage(handle, buf, image.getWidth(), image.getHeight(), bytespp, bytespl);
 //        TessAPI.TessBaseAPISetRectangle(handle, 0, 0, 1024, 800);
         Pointer utf8Text = TessAPI.TessBaseAPIGetUTF8Text(handle);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git



More information about the pkg-java-commits mailing list