Again downloaded version 1.1.3 tried again.
Attached screenshots which are self explanatory. Also attached Kan.alphabets, post vowels and rest for experiment at your side.
I could not understand where I made wrong. Error message of folder crop up. I shall check with tamil alphabet and feedback to you soon.
Awaiting valuable guidance.
With warm regards,
-sriranga.
posted again due to wrong address.2009/12/13 74yrs old <withbl...@gmail.com>Again downloaded version 1.1.3 tried again.
Attached screenshots which are self explanatory. Also attached Kan.alphabets, post vowels and rest for experiment at your side.
I could not understand where I made wrong. Error message of folder crop up. I shall check with tamil alphabet and feedback to you soon.
Indu-mss,
In continuation of my previous email, further clarification is solicited as follow:
Whether tool restricted to one file only e.g "rest" as well as length of vertical line in the rest? What is the solution if exceeds the limitation of vertical lines in "rest".
--
Regards,
Debayan Banerjee
sed '/^$/d' rest > tt
mv tt rest2009/12/22 74yrs old <withbl...@gmail.com>Indu-mss,
In continuation of my previous email, further clarification is solicited as follow:
Whether tool restricted to one file only e.g "rest" as well as length of vertical line in the rest? What is the solution if exceeds the limitation of vertical lines in "rest".
The tool only supports one 'rest' file. You are not allowed to work with rest1 rest2 etc.
Why do you need more than one 'rest file'? What do you mean by "exceeds the limitation of vertical lines "?
reply: I mean "exceeds the limitation of vertical lines" is length of text from top to bottom in one file.
--
Regards,
Debayan Banerjee
Indu-mss,
In continuation of my previous email, further clarification is solicited as follow:
Whether tool restricted to one file only e.g "rest" as well as length of vertical line in the rest? What is the solution if exceeds the limitation of vertical lines in "rest".
. I tried to use as rest/ rest1/rest2/rest3/rest4 in the kan.alphabet folder.
Traceback (most recent call last):
File "./trainer_gui.py", line 136, in trainFile "/home/sangeetha/Desktop/TesseractIndic-Trainer-GUI-0.1.3/tesseract_trainer/generate.py", line 83, in draw
tesseract_trainer.generate.draw(font_string,15,self.language,tesseract_trainer.file.read_file(self.DirectoryIn),self.DirectoryOut)I tested the rest again by deleting/reduced to half the contents of the "rest" but still same error generated as above - which I could not understand the error 'NoneType" ?
deltax=bbox[2]-bbox[0]
TypeError: 'NoneType' object is unsubscriptable
Immediate clarirfication is requested.
with Best Wishes,
-sriranga(77yrsold)
On Dec 23, 7:30 pm, 74yrs old <withblessi...@gmail.com> wrote:
> Banerjee,
> Thanks for the valuable guidance. I copied sed program as follow:
> *
> sed '/^$/d' rest > tt
> mv tt rest
> *
> then I run in the terminal " ./trainer.py " but generated same error as
> earlier reported reproduced below. It appears sed program has no effect on
> the rest. file.
> *Traceback (most recent call last):
> File "./trainer_gui.py", line 136, in train
>
> tesseract_trainer.generate.draw(font_string,15,self.language,tesseract_trainer.file.read_file(self.DirectoryIn),self.DirectoryOut)
> File
> "/home/sangeetha/Desktop/TesseractIndic-Trainer-GUI-0.1.3/tesseract_trainer/generate.py",
> line 83, in draw
> deltax=bbox[2]-bbox[0]
> TypeError: 'NoneType' object is unsubscriptable
> *
> . only bigimage.box generated but *not* generated image file. For testing
> purpose by you, attached "rest" file.
> With Regards,
> -sriranga(77yrsold)
>
> On Wed, Dec 23, 2009 at 11:06 AM, Debayan Banerjee <debaya...@gmail.com>wrote:
>
>
>
> > 2009/12/23 Debayan Banerjee <debaya...@gmail.com>
>
> >> 2009/12/22 74yrs old <withblessi...@gmail.com>
>
> >> Indu-mss,
> >>> In continuation of my previous email, further clarification is solicited
> >>> as follow:
>
> >>> Whether tool restricted to one file only e.g "rest" as well as length of
> >>> vertical line in the rest? What is the solution if exceeds the limitation of
> >>> vertical lines in "rest".
>
> >> The tool only supports one 'rest' file. You are not allowed to work with
> >> rest1 rest2 etc.
> >> Why do you need more than one 'rest file'? What do you mean by "exceeds
> >> the limitation of vertical lines "?
>
> > You get a 'NoneType' error if you leave empty lines somewhere in the list
> > in 'rest'. Make sure there are no empty lines. Actually this logic should be
> > built into the application itself. i will do it in a subsequent release.
> > Here is a way to remove empty lines from a file quickly:
> >http://soft.zoneo.net/Linux/remove_empty_lines.php.
>
> >> --
> >> Regards,
> >> Debayan Banerjee
>
> > --
> > Regards,
> > Debayan Banerjee
>
>
>
> rest
> 220KViewDownload
Banerjee,
I tested Sed program in WinXp also. No effect on the kannada scripts.
This is for your information.
-sriranga
Banerjee,
I agree with your point that sed will work in Linux. But I am not able to run tool on rest attached to my previous email. please note that sed program applied to rest - but still error "non-type" displayed before finishing. Kindly perform test on rest attached in the previous email. i like to know where I made a mistake?
With regards,
Dear Debayan Banerjee,
Thanks for taking interest. As desired by you I have attached rest file.
Awaiting your valuable guidance/comments.
With regards,
-sriranga(77yrsold)
Support Vector Machines <http://en.wikipedia.org/wiki/Support_vector_machine>
Banerjee,
how to fix Size of unicharset of boxes is greater than MAX_NUM_CLASSES (8192) in the relevant source code of tesseract.
On Dec 24 2009, 10:02 pm, Debayan Banerjee <debaya...@gmail.com>
wrote:
> rest
> 220KViewDownload