how to use models

39 views
Skip to first unread message

Lucasli

unread,
Dec 1, 2009, 2:47:26 AM12/1/09
to Tegaki Handwriting Recognition Project
Hi. every one.

According documents, I download tegaki-zinnia-simplified-
chinese-0.3.zip and install it to default directory. now I run tegaki-
recognize and when I choose models it prompt me "no models installed".

I don't know how to fix it.
can any one help me, I thanks very much.

Best regard.

Mathieu Blondel

unread,
Dec 1, 2009, 3:22:29 AM12/1/09
to tegak...@googlegroups.com
What is your operating system?

Mathieu

Lucasli

unread,
Dec 2, 2009, 2:05:24 AM12/2/09
to Tegaki Handwriting Recognition Project
Mathieu.

Thanks very much, It is work fine when I install python-zinnia.

Now I have another problem that It is not better to recognize
simplifted-chinese. I don't know how to improve recognize rate. Maybe
train it? if yes and how to train?

Mathieu Blondel

unread,
Dec 2, 2009, 3:02:53 AM12/2/09
to tegak...@googlegroups.com
Hi,

2009/12/2 Lucasli <liguoqi...@gmail.com>:

> Thanks  very much, It is work fine when I install python-zinnia.

Happy that you made it work!

> Now I have another problem that It is not better to recognize
> simplifted-chinese. I don't know how to improve recognize rate. Maybe
> train it? if yes and how to train?

Training a model with your own handwriting is one solution but it will
take time because you will need to draw each character that you need
to support. You can do that by installing tegaki-train.

We support two recognizers in Tegaki: Zinnia and Wagomu. Have you
tried the latter? It may improve the results for you.

Mathieu

Lucasli

unread,
Dec 2, 2009, 9:14:14 PM12/2/09
to Tegaki Handwriting Recognition Project
Mathieu.

Thank you again for help me more.

And how I install the Wagomu, It is not work to only download tegaki-
wagomu-simplified-chinese-0.3.zip. I try to install tegaki-
wagomu-0.3 ,when I run "python setup.py install" in tegaki-wagomu-0.3
subdirectory I get a error message like this:

wagomu_wrap.cpp:145:20: error: Python.h:
wagomu_wrap.cpp:2518:4: error: #error "This python version requires
swig to be run with the '-classic' option"
In file included from wagomu_wrap.cpp:2602:
wagomu.h:27:18: error: glib.h:
wagomu.h:28:25: error: glib/gstdio.h:
wagomu_wrap.cpp:751: error: expected initializer before '*' token
wagomu_wrap.cpp:806: error: expected initializer before '*' token
wagomu_wrap.cpp:827: error: expected initializer before '*' token
In file included from /usr/include/c++/4.4/stdexcept:38,
from wagomu_wrap.cpp:2537:
/usr/include/c++/4.4/exception:35: error: expected declaration before
end of line

Actually swig has exist in system. I don't know how to fix it.


On 12月2日, 下午4时02分, Blondel <mblon...@gmail.com> wrote:
> Hi,
>
> 2009/12/2 Lucasli <liguoqiang0...@gmail.com>:

Mathieu Blondel

unread,
Dec 2, 2009, 9:45:27 PM12/2/09
to tegak...@googlegroups.com
On Thu, Dec 3, 2009 at 11:14 AM, Lucasli <liguoqi...@gmail.com> wrote:

> Actually swig has exist in system. I don't know how to fix it.

Try that:

sudo apt-get install libglib2.0-dev python-dev

Mathieu

Lucasli

unread,
Dec 2, 2009, 10:23:22 PM12/2/09
to Tegaki Handwriting Recognition Project
BTW. I see the tegaki-recognize script call Gtk library to handle
GUI. if is it modified using QT library ?

On 12月3日, 上午10时45分, Mathieu Blondel <mblon...@gmail.com> wrote:

Mathieu Blondel

unread,
Dec 2, 2009, 10:32:41 PM12/2/09
to tegak...@googlegroups.com
On Thu, Dec 3, 2009 at 12:23 PM, Lucasli <liguoqi...@gmail.com> wrote:
> BTW.  I see the tegaki-recognize script call Gtk library to handle
> GUI. if is it modified using QT library ?

Currently we support GTK only but Qt is on the ToDo list.

Mathieu

Lucasli

unread,
Dec 3, 2009, 12:24:10 AM12/3/09
to Tegaki Handwriting Recognition Project
and how I get PyQt , can you support me a directly path ?

thanks very much.

On 12月3日, 上午11时32分, Mathieu Blondel <mblon...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages