ProcStack / pxlTextGenerator

Gather handwriting from a photo/scan into a character library; Export text as 'handwritten' images!
GNU General Public License v3.0
2 stars 2 forks source link

pxlTextGenerator v0.2.5 - Beta

Text to Handwriting Generator

Turn your written characters into an image based font

Export with custom page backgrounds to PNG


Index



Welcome Message \& Tool Information

This tool is designed to allow users to gather hand written characters,
(Or I guess, any connected mass)
In photos/scans/images and export them to an image library and database.
- Written with Python 2.7 and PyQt 4

A Character Database is built and can be used to convert typed text into seemingly hand written images.
You can save those pages to a Page Database or export them as PNG files!
(The Character and Page Database Files let you jump back in where you left off, allowing you to edit all the settings.)

Since I have an intended purpose for this tool, it currently looks for darker objects.
Like having ink that is darker than the paper it's on.
This is done by looking out pixel by pixel to see if it's under a user-settable brightness threshold.

In the future, I'd like to add OCR (Optical Character Recognition) functionality.
Since it supports having as many character variations as you'd like, they could be used as training material for the OCR.
But that will be some time from now... We all have lives to manage and things that distract us.

It's slow right now, optimizations are being worked on,
But I'm hoping to expand out toward OpenGL / C++ in the future.
(Especially for the OCR support)
Python and PyQt was just the easy route to start with.

** Since this is still in Beta, some aspects are in flux **
The only major changes I forsee is GUI layout and adding new features.
If you find any bugs or have any suggestions, feel free to contact me at--
Kevin@Metal-Asylum.Net

- Kevin Edzenga

^ Top


Graphical Overview

Letter to Character Interface

pxlTextGenerator Overview

Characer to Page Interface

pxlTextGenerator Page Output

^ Top


Gifs of Features

Turn Letters into Characters

Letter Picking

Size and Fit Characters

Testbed Letter Sizing

Build Pages

Build a Page

^ Top


Starting Out

The tool is expecting a folder in its root with images ( jpg, jpeg, png, bmp )
These photos should be scans/photos you took of your handwriting/letters/characters

With the tool open, click Set Project Folder, and select your folder.
The tool will then create three folders,

If all went well, the tool should load up the first image it finds from pxl_textBases_origImages,
With a list of all your files on the top of the window

Things to note-

pxlTextGenerator Page Output

Special Characters-

%a:center%- Edit next character only tags - %lineHeight:30%%%ss:-50%k:#%%ss% to change kerning %lineHeight:30%%%ss:-50%o:#,#%%ss% to change offset %%ss:-50%op:percent%%ss% to change opacity %%ss:-50%s:pixels%%ss% to change character variation


#### Bottom Bar (After loading a Page BG Image)
  * **`Page Group List`** - List of all your current work
  * **`Per Group`** - Isolated group of pages built from one text input
    * **`Name of Group`** - This is the prefix name to your pages
      * *A Name of 'Info' will export the pages as 'Info_1', 'Info_2', etc...*
    * **`Edit Pages`** - Load and set all of the settings for that Page Group for Editing
    * **`Delete Pages`** - Deletes the ENTIRE Page Group
    * **`Thumbnail`** - Small little view of whats going on on the page

##### <p align="right">[^ Top](#index)</p>
______________________________

## Thanks for checking out pxlTextGenerator!