»Click here to calculate your site FeedRank Today«
FeedRank, a newly developed algorithm for ranking RSS feeds only on RSSMicro
Click here to learn more
 4/10 Good --- planet.maemo.org http://maemo.org/news/planet-maemo/rss.xml
| Blog entries from Maemo community ... |
Tuesday, July 15, 2008 --- 45 days ago http://www.mblondel.org/journal/2008/07/13/handwriting-renderers/
Canvas If you didn’t read my previous post , for short, project Tegaki is a framework for handwritten Chinese character recognition (HCCR) written in Python. It includes reusable components and is a placeholder for experimentation. The goal is to create the next-generation open-source HCCR software but it may be useful for academic researchers as well. One reusable component is the Canvas. This is the user interface component that allows to draw characters. In addition, the Canvas supports “replaying” the character (stroke by stroke animation) and setting a background model (to help users draw an unknown character). It is multi-platform. Example of a character drawn using the Canvas provided by libtegaki-gtk The Canvas has a get_writing() method. It allows to retrieve the Writing object for the handwriting currently displayed in the Canvas. XML representation The Writing object supports reading from and writing to an XML file. The XML file can optionally be compressed using gzip or bz2. On my hard drive, I have a small set of handwriting samples. 500 characters take about 10 MB. That’s why compression is very useful. The XML representation of a handwriting sample looks like that. <character> <utf8>無</utf8> <strokes> <stroke> <point x="306" y="163" timestamp="0" /> <point x="303" y="163" timestamp="21" /> <point x="303" y="166" timestamp="29" /> [...] </stroke> <stroke> <point x="266" y="240" timestamp="912" /> <point x="270" y="240" ti ... |
|
|
Recent Posts
|
|
|
Facebook
Del.icio.us
Digg
StumbleUpon
Reddit
Google