Re: [tesseract-ocr] [SOLVED] Re: tess4j: NullPointerException while reading text in rectangle of image.

2018-06-09 Thread ShreeDevi Kumar
For tess4j see https://github.com/nguyenq/tess4j/blob/master/src/test/java/net/sourceforge/tess4j/TessAPI1Test.java On Sun 10 Jun, 2018, 12:51 AM Dattatraya Tembare, wrote: > I have used another method, and it worked perfectly. > > public static void main(String[] args) { > String fileStr =

[tesseract-ocr] [SOLVED] Re: tess4j: NullPointerException while reading text in rectangle of image.

2018-06-09 Thread Dattatraya Tembare
I have used another method, and it worked perfectly. 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 = 0; int ysize = 0; BufferedImage bufImage=null; ByteBuffer buf = null; try { bufImage =

[tesseract-ocr] tess4j: NullPointerException while reading text in rectangle of image.

2018-06-09 Thread Dattatraya Tembare
I'm trying to read the text from an image at some particular location in an image. I have image dimensions and desired rectangle dometions. Here is the code implementation: public static void main(String[] args) { String fileStr = "C:/EA/mp-out/im/1/3/1-0.png"; File file = new File(fileStr);

[tesseract-ocr] Re: error while running tesseract

2018-06-09 Thread Shinehah-Gnolaum
How do I go into tessdatamanager.cpp and fix the problem? On Wednesday, February 8, 2017 at 7:59:37 AM UTC-6, Quan Nguyen wrote: > > Wrong version of traineddata? > > >

[tesseract-ocr] error running configure; how do I start over?

2018-06-09 Thread Shinehah-Gnolaum
I made an error running configure. The first time I ran the line given in the instructions at https://github.com/tesseract-ocr/tesseract/wiki/Compiling#macos It didn't work because the c++ compiler couldn't make executables, it said. The second time I didn't set the environment variables. How

Re: [tesseract-ocr] error

2018-06-09 Thread ShreeDevi Kumar
You are probably using a wrong traineddata file i.e. 3.0x version file with latest 4.0x code from master branch. ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Sat, Jun 9, 2018 at 3:33 PM Vishal Jha wrote: > 1,

[tesseract-ocr] error

2018-06-09 Thread Vishal Jha
1, 'read_params_file: parameter not found: enable_new_segsearch') -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com.

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

2018-06-09 Thread ShreeDevi Kumar
Try without --eval_listfile /home/kddlab/Desktop/tesseract-master/1MyData/ testfas1/fas.training_files.txt \ ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Sat, Jun 9, 2018 at 1:58 PM Khosrobeigy.zohreh wrote: >

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

2018-06-09 Thread Khosrobeigy.zohreh
Thank. by your command fixed. but next i used this: lstmtraining \ --traineddata /home/kddlab/Desktop/tesseract-master/1MyData/testfas/fas/fas.traineddata --net_spec '[1,48,0,1Ct3,3,16Mp3,3Lfys64Lfx96Lrx96Lfx192O1c1]' \ --model_output

[tesseract-ocr] How to recognize text in images with blue background and boxed

2018-06-09 Thread eng . ahmed . osama . 1190
Hi All, I have this image and I want to recognize the letters inside it. How I can to that. I have tried to change the background to white and text to black but failed also.

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

2018-06-09 Thread ShreeDevi Kumar
--linedata_only should work. > tesseract 4.0.0-beta.1 Do you know which commit? Please try with latest code. > i am using src/training/tesstrain.sh The command you used was: > sudo tesstrain.sh Why do you need sudo? Please run the script with bash -x src/training/tesstrain.sh etc

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

2018-06-09 Thread Zohreh Khosrobeygi
Yes, i am using src/training/tesstrain.sh On Friday, June 8, 2018 at 6:44:27 PM UTC+4:30, shree wrote: > > Are you using the correct version of tesstrain.sh? > > It should be in src/training/tesstrain.sh > > > ShreeDevi > > भजन -

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

2018-06-09 Thread Zohreh Khosrobeygi
On Friday, June 8, 2018 at 5:49:43 PM UTC+4:30, Zohreh Khosrobeygi wrote: > > 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