-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Welcome to the imagemorph.c wiki!
Note: the program can only handle .ppm P6 (raw rgb). It is not a bug but a feature: it prevents dependency hell with image-format libraries in embedded and high-performance platforms.
This is a handwritten input word image from the Monk/KdK collection, the Dutch city name Zwolle.
This is the randomly morphed instance for data augmentation.
It is one sample out of a run with the parameters:
imagemorph 0.9 9 < in.ppm > out.ppm
Note that the word is still legible. The ink trace has a tremor-like appearance which hopefully covers natural handwriting variation. Note that imagemorph is not sufficient for data augmentation. We use additional shear (slant) randomization and random ink thickness using ink dilation in a deep-learning training session.
Lambert Schomaker (lrb_schomaker @ gmail.com)