Package hhreco.recognition

Interfaces and core classes for doing multi-stroke symbol recognition.

See:
          Description

Interface Summary
FeatureExtractor A feature extractor performs computation on a set of strokes and outputs the feature values.
MultiStrokeRecognizer A recognizer that processes a set of strokes and return the predictions in a RecognitionSet.
StrokeRecognizer A recognizer responds to changes in strokes and returns recognition sets (interpretations of the stroke or of some or all of the scene) based on these changes.
TypedData Typed data refers to a piece of semantic data that results from a recognition process and has an associated type.
 

Class Summary
HHRecognizer This is a general purpose recognizer in which feature extractors and the classifier can be user-specified.
MSTrainingModel MSTrainingModel (Multi-Stroke Training Model) is a data structure for storing training examples and their types.
MSTrainingParser MSTrainingParser (Multi-Stroke Training Parser) reads in an XML file and parses it into a MSTrainingModel.
MSTrainingWriter MSTrainingWriter (Multi-Stroke Training Writer) takes a MSTrainingModel and outputs its content to an outputstream.
Recognition An interpretation of a stroke or a set of strokes as a data/confidence pair.
RecognitionSet The result of a recognizer's computations: a set of mutually exclusive interpretations of a stroke or a set of strokes, expressed by Recognition objects as typed data with associated values.
SimpleData An instance of typed data that represents dynamic, user-defined types.
TimedStroke TimedStroke is a collection of points taken in the duration of a mouse pressed event and a mouse released event.
Type A unique identifier for the type of a piece of data that results from a recognition.
ZernikeFE Compute Zernike moments of the specified order [1].
ZernikeMoments This class provides a set of methods for computing Zernike moments.
ZernikeMoments.Complex Data structure for a complex number with real and imaginary parts.
 

Package hhreco.recognition Description

Interfaces and core classes for doing multi-stroke symbol recognition. A stroke is a sequence of data points captured from pen-down to pen-up. TimedStroke is the data structure for storing information pertaining to a stroke. HHRecognizer is the recognition engine. By default, it uses Zernike moment features and a SVM classifier.