You need to give the path based on where you have the files.

Eg. Change langdata dir from ../langdata to ../home/adarsh/tes1/tesseract/
langdata

Make sure it has other required files.

On 30-Jan-2018 12:14 PM, <[email protected]> wrote:

> Do we need to have the langdata folder in some specific folder or is it
> that in this command we can give the path of the langdata folder?
>
> this is your command
> --training_text ../langdata/eng/eng.training_text \
> this is what i typed:
>
> $ training/tesstrain.sh --fonts_dir /usr/share/fonts --lang eng 
> --linedata_only   --noextract_font_properties --langdata_dir ../langdata   
> --tessdata_dir ./tessdata --output_dir ~/tesstutorial/engtrain 
> --training_text ../home/adarsh/tes1/tesseract/langdata/eng/eng.training_text \
>
>
>
> On Monday, July 31, 2017 at 5:10:14 PM UTC+5:30, shree wrote:
>>
>> add a line similar to following to your training command, pointing to
>> where you have your training text
>>
>>   --training_text ../langdata/eng/eng.training_text \
>>
>>
>> ShreeDevi
>> ____________________________________________________________
>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>>
>> On Mon, Jul 31, 2017 at 4:24 PM, Ava Nimaee <[email protected]> wrote:
>>
>>> Hi . sorry I used this syntax:
>>> training/tesstrain.sh --fonts_dir /usr/share/fonts --lang eng
>>> --linedata_only \
>>>   --noextract_font_properties --langdata_dir langdata \
>>>   --tessdata_dir tessdata \
>>>   --fontlist "Times New Roman," --output_dir engtrain
>>> Befor that i create boxfile and tif and Ucnicahset_output
>>> I clone langdata for tesseract v4.0
>>> but take this error:
>>>  === Phase I: Generating training images ===
>>> ERROR: Could not find training text file langdata/eng/eng.training_text
>>> i can't solve it and i don't know where should i put taining_text.txt
>>> actually it is a text file that i want train it.
>>> Thanks for attention.
>>>
>>> --
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/tesseract-ocr/a141d688-bc59-4485-b7bc-66ac650ebfd8%40goo
>>> glegroups.com
>>> <https://groups.google.com/d/msgid/tesseract-ocr/a141d688-bc59-4485-b7bc-66ac650ebfd8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tesseract-ocr/084b30a3-4f8d-49fa-903c-12d13e241060%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/084b30a3-4f8d-49fa-903c-12d13e241060%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduVHRZf5YRZaRAL-wD05f4zAcdum-ebNvib3WEA_T3gccA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to