Skip to content

Some tools for manipulating the data from the KanjiVG project. This is now integrated into my fork of Tegaki (http://github.com/rogerbraun/Project-Tegaki)

Notifications You must be signed in to change notification settings

rogerbraun/KVG-Tools

Repository files navigation

kvg-tools
=========

These are tools for converting the KanjiVG data at kanjivg.tagaini.net to points and strokes. Right now it only converts to pointy images in png, to S-Expressions and to single files in the Project Tegaki format. These can be used to train zinnia (http://zinnia.sourceforge.net/) models and other machine learning engines.

Usage
=====
Download the xml release of the KanjiVG data at https://github.com/KanjiVG/kanjivg/releases.
To S-Expressions:
SOURCE=kanjivg-RELEASENUMBER.xml ruby sexp_all_kanji.rb
To csv files of the format: #stroke,x,y
SOURCE=kanjivg-RELEASENUMBER.xml ruby csv_all_kanji.rb
To tegaki xml format:
SOURCE=kanjivg-RELEASENUMBER.xml ruby xml_all_kanji.rb
License
-------

This package is distributed under the terms of the GNU General Public
License.

About

Some tools for manipulating the data from the KanjiVG project. This is now integrated into my fork of Tegaki (http://github.com/rogerbraun/Project-Tegaki)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages