gen-chars updated.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
Wed, 17 Jan 2001 19:01:09 -0500 (EST)


gen-chars now produces randomly distorted characters under control of the
wildness parameters. I've decided that jittering each coordinate makes the
characters look too stupid, so gen-chars doesn't do that; it does, however, do
the other two transformations (translation and scaling).

As a bonus, you can use see-chars to look at what gen-chars is producing.
see-chars takes an optional command-line argument which should be the name of a
file containing letter strokes in the same format as that produced by
gen-chars. For example:

  $ gen-chars -w75 this is a test > tst
  $ see-chars tst

With no command-line argument, see-chars acts as a filter, reading from std-in,
writing what it read to std-out, and displaying the characters it read from
std-in. For example:

  $ gen-chars -w0 this is a test | see-chars | recog

see-chars only works if your local host (that is, the machine on which you're
typing) is running X. Those of you on windows local hosts probably can't
use see-chars; those of you on solaris or linux hosts probably can use
see-chars.



This archive was generated by hypermail 2.0b3 on Thu May 17 2001 - 12:00:05 EDT