On Thu, Aug 23, 2012 at 8:24 PM, goetzibubu <[email protected]>wrote:

> I have a similar problem:
> I use tesseract V3.01 0n WIN7.
> I produced 6 *.tr files (deu.handschriftgoetz.exp1.tr
> deu.handschriftgoetz.exp2.tr...)
> and a file for font_properties handschriftgoetz.tr.
> With mftraining I tested different entries in this file:
> deu.handschriftgoetz.exp1.tr
> deu.handschriftgoetz.exp1 00110
> deu.handschriftgoetz.exp2 00110
> deu.handschriftgoetz.exp3 00110
> deu.handschriftgoetz.exp4 00110
> deu.handschriftgoetz.exp5 00110
> deu.handschriftgoetz.exp6 00110
> deu.handschriftgoetz 00110
> handschriftgoetz 00110
>
> But no success!
> deu.handschriftgoetz.exp1 00110
> deu.handschriftgoetz.exp2 00110
> deu.handschriftgoetz.exp3 00110
> deu.handschriftgoetz.exp4 00110
> deu.handschriftgoetz.exp5 00110
> deu.handschriftgoetz.exp6 00110
> deu.handschriftgoetz 00110
> handschriftgoetz 00110
>
> My commandline:
> "C:\Program Files (x86)\Tesseract-OCR\mftraining.exe" -F font_properties
> -U unicharset  C:\Users\Winkelmann\deu.handschriftgoetz.tr
> result:
> Failed to load font_properties
> Reading C:\Users\Winkelmann\deu.handschriftgoetz.tr ...
> C:\Users\Winkelmann\deu.handschriftgoetz.tr has no defined properties.
>
> !"Missing font_properties entry is a fatal error!":Error:Assert failed:in
> file .
> .\training\mftraining.cpp, line 281
>
> Then
> "C:\Program Files (x86)\Tesseract-OCR\mftraining.exe" -F font_properties
> -U unicharset -O deu.unicharset C:\Users\Winkelmann\
> deu.handschriftgoetz.exp1.tr C:\Users\Winkelmann\
> deu.handschriftgoetz.exp2.tr C:\Users\Winkelmann\
> deu.handschriftgoetz.exp3.tr C:\Users\Winkelmann\
> deu.handschriftgoetz.exp4.tr  C:\Users\Winkelmann\
> deu.handschriftgoetz.exp5.tr C:\Users\Winkelmann\
> deu.handschriftgoetz.exp6.tr
> result:
> Failed to load font_properties
> Reading C:\Users\Winkelmann\deu.handschriftgoetz.exp1.tr ...
> handschriftgoetz has no defined properties.
>
> !"Missing font_properties entry is a fatal error!":Error:Assert failed:in
> file .
> .\training\mftraining.cpp, line 281
>
> I REALLY do not know what I can do?!
>

Read the output ;-) and pay attention to error message (e.g. "Failed to
load font_properties"). Also in your attachment there is no font_properties
file.


> Ca any body help?
> Next question: Does it not matter WHICH numeric code is to enter in the
> font_properties file?
>
>
http://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3#font_properties_(new_in_3.01)

By the way: I needed some time to find the output files of tesseract (WIN7
> special!)
>
> If you do not use (absolute) paths with filenames (e.g. you should fallow
examples on TrainingTesseract wiki) than it is easy - output files are in
current directory.


> Am Sonntag, 10. Juli 2011 17:30:43 UTC+2 schrieb [email protected]:
>>
>> Hi
>>     just put property file name as "font_properties" and let it stay
>> with tesseract.exe at the same directory.
>>     file contains as follow:
>>                  magang.18Nodasharial   0 0 1  1  0
>>                  magang.18NoDashariali  1 1 0  1  0
>>                  magang.18Nodasharialb  0 1 1  1  0
>>
>> .......
>>
>>
>>
>>
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>

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

Reply via email to