Skip to content

Character recognition for scientific writing, tailored for touchscreens.

License

Notifications You must be signed in to change notification settings

Justmitya/Lifeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lifeline

Lifeline is a library for handwriting recognition. It is specifically tailored for touch-based input.

Installation

Before installation please ensure you have the following libraries installed (used exclusively for the testsuite, Lifeline itself has no dependencies for now):

  • OpenGL with GLEW
  • SFML 2.0 (RC as of September 3 2012)

Usage

Setting up

Lifeline does not come with a pre-recorded alphabet. You can use the testsuite to record characters. Lifeline will then use these characters in the future to test against input. For compatibility reasons Lifeline is built in C.

On the client's end data should be recorded as a linked list of LPoints. For readability reasons there is a LPointData typedeffed as a List (see used datastructures). You can insert points like in the following snippet

LPoint* point = (LPoint*)malloc(sizeof(LPoint));
point->x = 1.0;
point->y = 1.0;
point->t = 0.1;
list_insert_next( &point_data, point_data.tail, point); 

To use the recognizer system you should first create a recognizer struct.

LRecognizer recog

Say you have your point data saved in point_data of type LPointData. Then you can make your recognizer use this data by using

recognizer_set_data(recog, point_data)

Listening

You will also need a listener struct ..

Authors

  • Tom Bannink
  • Jan-Willem Buurlage
  • Erik Lumens

Contact:

About

Character recognition for scientific writing, tailored for touchscreens.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 46.1%
  • C 27.7%
  • Objective-C 17.2%
  • Ruby 7.3%
  • CMake 1.7%