read_params_file

2,245 views
Skip to first unread message

Donald Hume

unread,
Jul 24, 2011, 11:10:42 PM7/24/11
to tesseract-ocr
Hello!

I have created a .tif and matching box file and made all of the
necessary corrections to the box file. I am now trying to "train
tesseract" but I keep receiving the following error:

tesseract eng.atlant.exp0.tif eng.altant.exp0 box.train

read_params_file: parameter not found: tessedit_use_nn



I can't find mention of this in the wiki. Might anyone know what
I'm doing incorrectly? I would greatly appreciate any help.

Thanks,
Don

Dmitri Silaev

unread,
Jul 25, 2011, 1:05:00 AM7/25/11
to tesser...@googlegroups.com
Apparently you are trying to use a 2.xx version "box.train" config
file with version 3.xx. Use "box.train" that comes with version 3.xx
instead.

Warm regards,
Dmitri Silaev
www.CustomOCR.com

> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to tesser...@googlegroups.com
> To unsubscribe from this group, send email to
> tesseract-oc...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>

Donald Hume

unread,
Jul 25, 2011, 4:50:33 PM7/25/11
to tesseract-ocr
I have used the tesseract.exe from the SVN for Tesseract 3.0. You can
see in this screenshot: http://j.drhu.me/TesseractBox.png

Previously I tried using jTessBox Editor and excel to correct the
boxes and then save the box file using jTessBox Editor, which can
handle 3.x box files. Is there a way I can just manually make the
changes that need to be done to my box file? create.box does not make
an accurate file and I must correct it by hand.

Is there a way to fix this?

Thanks,

Don

zdenko podobny

unread,
Jul 26, 2011, 3:48:10 AM7/26/11
to tesser...@googlegroups.com
On Mon, Jul 25, 2011 at 10:50 PM, Donald Hume <donal...@gmail.com> wrote:
I have used the tesseract.exe from the SVN for Tesseract 3.0. You can
see in this screenshot: http://j.drhu.me/TesseractBox.png

Image says you use tesseract 3.01 (not 3.0) - e.g. you had to compile Tesseract by yousefl.
As Dmitri pointed out: Error message say you use wrong (not 3.01) config file. see [1] - parameter "tessedit_use_nn" was removed from config file 'box.train' in revision 526.

So update your box.train file to recent version.

Zdenko

Dovhani Foneworx

unread,
Sep 10, 2014, 10:42:58 AM9/10/14
to tesser...@googlegroups.com
Any solution for this?

fone...@foneworxtest.foneworx.co.za:~/DM/DEVPLACE/BOXEDIT$ tesseract email.tif num10.tif num11.tif num12.tif num13.tif num13.tif num14.tif num1.tif num3.tif num5.tif num6.tif num7.tif num8.tif num9.tif phone_photo.tif solution.tif  abch eng
Tesseract Open Source OCR Engine v3.03 with Leptonica
read_params_file: parameter not found: II*

zdenko podobny

unread,
Sep 10, 2014, 11:22:49 AM9/10/14
to tesser...@googlegroups.com
What kind of solution you expect for wrong command?

Zdenko

--
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-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/07ca89d5-eee6-433b-bc6d-77d71dd0c478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dovhani Foneworx

unread,
Sep 12, 2014, 9:54:41 AM9/12/14
to tesser...@googlegroups.com
Hi Zdenko, I have more than 15 images that I want to train however I have used imagemaic to join the images to get the together to one big image but tesseract complain about image too large.

so i wanted to do the training with the different images to make one traineddata

is this possible.


On Wednesday, September 10, 2014 5:22:49 PM UTC+2, zdenop wrote:
What kind of solution you expect for wrong command?

Zdenko

On Wed, Sep 10, 2014 at 4:42 PM, Dovhani Foneworx <dfon...@gmail.com> wrote:
Any solution for this?

foneworx@foneworxtest.foneworx.co.za:~/DM/DEVPLACE/BOXEDIT$ tesseract email.tif num10.tif num11.tif num12.tif num13.tif num13.tif num14.tif num1.tif num3.tif num5.tif num6.tif num7.tif num8.tif num9.tif phone_photo.tif solution.tif  abch eng

Tesseract Open Source OCR Engine v3.03 with Leptonica
read_params_file: parameter not found: II*



On Monday, July 25, 2011 5:10:42 AM UTC+2, Donald Hume wrote:
Hello!

   I have created a .tif and matching box file and made all of the
necessary corrections to the box file. I am now trying to "train
tesseract" but I keep receiving the following error:

tesseract eng.atlant.exp0.tif eng.altant.exp0 box.train

read_params_file: parameter not found: tessedit_use_nn



    I can't find mention of this in the wiki. Might anyone know what
I'm doing incorrectly? I would greatly appreciate any help.

Thanks,
Don

Quan Nguyen

unread,
Sep 12, 2014, 12:11:56 PM9/12/14
to tesser...@googlegroups.com
You would have to use a separate command for each image, or you can combine them into a multi-page TIFF image.

Dovhani Foneworx

unread,
Sep 15, 2014, 2:31:32 AM9/15/14
to tesser...@googlegroups.com
Thanks Quan, my issue is that when I join the  images to have one big image it says image too large.

I don't know if I can increase the allowed image size o tesseract.

--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/FZrXU8wx3Kw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.

To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.

Shree Devi Kumar

unread,
Sep 15, 2014, 4:05:13 AM9/15/14
to tesser...@googlegroups.com
Please look at tesstrain.sh in training directory.

You can process multiple files in a loop.

Shree Devi Kumar
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Reply all
Reply to author
Forward
0 new messages