[tesseract-ocr] Re: tess4j: Read text in rectangle of image

2018-06-08 Thread Dattatraya Tembare
Actually, the language used is Hindi (hin) On Friday, June 8, 2018 at 3:07:37 PM UTC-4, Dattatraya Tembare wrote: > > I wrote this piece of code: > public static void main(String[] args) { > String fileStr = "C:/EA/mp-out/im/1/3/1-0.png"; > File file = new File(fileStr); > //380x45+220+170 >

[tesseract-ocr] Re: tess4j: Read text in rectangle of image - NullPointerException

2018-06-08 Thread Dattatraya Tembare
On Friday, June 8, 2018 at 3:07:37 PM UTC-4, Dattatraya Tembare wrote: > > I wrote this piece of code: > public static void main(String[] args) { > String fileStr = "C:/EA/mp-out/im/1/3/1-0.png"; > File file = new File(fileStr); > //380x45+220+170 > int xsize = 220; > int ysize = 170; >

[tesseract-ocr] tess4j: Read text in rectangle of image

2018-06-08 Thread Dattatraya Tembare
I wrote this piece of code: public static void main(String[] args) { String fileStr = "C:/EA/mp-out/im/1/3/1-0.png"; File file = new File(fileStr); //380x45+220+170 int xsize = 220; int ysize = 170; BufferedImage bufImage; ByteBuffer buf = null; try { bufImage = ImageIO.read(file);

Re: [tesseract-ocr] Unrecognized argument --linedata_only

2018-06-08 Thread ShreeDevi Kumar
Are you using the correct version of tesstrain.sh? It should be in src/training/tesstrain.sh ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Fri, Jun 8, 2018 at 6:49 PM Zohreh Khosrobeygi wrote: > Hi, > I have

[tesseract-ocr] Unrecognized argument --linedata_only

2018-06-08 Thread Zohreh Khosrobeygi
Hi, I have been training tesseract but i have this errore" Unrecognized argument --linedata_only And it's my version of tesseract" tesseract 4.0.0-beta.1 leptonica-1.74.4 libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 Found AVX2 Found AVX Found SSE

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-06-08 Thread Jakob Salomonsson
After speaking to one of the tesseract contributors: import os os.environ['OMP_THREAD_LIMIT'] = '2' Should do the job, as OMP_NUM_THREADS is an environment variable. However, the speed difference is very small. It might be better to process several images in parallell rather than to process

[tesseract-ocr] Using eval_listfile for fine tuning Tesseract 4.0

2018-06-08 Thread 'Joan Xiao' via tesseract-ocr
Hello! For fine tuning, is there a way to use eval_listfile to monitor the model's performance on evaluation fonts? I tried to pass this parameter to lstmtraining, but the log does not show any message related to using eval_listfile. If eval_listfile has no effect on training, other than