Package diva.sketch.recognition

Utilities for doing single-stroke and multi-stroke recognition.

See:
          Description

Interface Summary
ChoiceElement A choice element represents a choice between multiple typed elements that have the same type (or super-type).
CompositeElement A composite element is the encapsulation of all the information known about a parsed element in a scene.
MultiStrokeRecognizer A recognizer that processes a set of strokes and return the predictions in a RecognitionSet.
Scene A scene database that keeps track of multiple interpretations of a set of strokes.
SceneElement A scene element is an interface that encompasses various elements that can be found in the scene: stroke elements, composite elements, and choice elements.
SceneRecognizer An incremental recognizer of scene structures.
StrokeElement A scene entry that represents a single stroke with no type information.
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
BasicScene A scene database that keeps track of multiple interpretations of a set of strokes.
BasicStrokeRecognizer BasicStrokeRecognizer performs recognition on completed strokes by filtering them, extracting features from them (e.g.
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 writes it out to an outputstream.
MultiStrokeSceneRecognizer A scene recognizer that uses a given multi-stroke recognizer so that the results of its multi-stroke recognition get added to the scene properly.
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 confidences.
SceneBuilder Builder class for scenes and scene elements and simple data.
SceneDelta A class that represents a change in the scene database.
SceneDelta.Additive An additive version of the SceneDelta class.
SceneDelta.Subtractive A subtractive version of the SceneDelta class.
SceneDeltaSet A collection of deltas that represents the cumulative set of possible changes recognized by a scene recognizer in response to a given event.
SceneParser SceneParser parses an XML file representing a single interpretation of a scene into a Scene data structure.
SceneWriter SceneWriter writes a single interpretation of a scene to an output stream.
SimpleData An instance of typed data that represents dynamic, user-defined types.
SSTrainingModel SSTrainingModel (Single Stroke Training Model) is a data structure for storing training examples and their types.
SSTrainingParser SSTrainingParser (Single Stroke Training Parser) reads in an XML file and parses it into a SSTrainingModel.
SSTrainingWriter SSTrainingWriter (Single Stroke Training Writer) takes a SSTrainingModel and writes it out to an outputstream.
StrokeSceneRecognizer A scene recognizer that uses a given stroke recognizer so that the results of its single-stroke recognition get added to the scene properly.
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.
VotingSceneRecognizer A composite recognizer which allows multiple sub-recognizers to vote on interpretations of a given scene.
VotingStrokeRecognizer Voting gesture recognizer is a composite recognizer which allows multiple sub-recognizers to vote and interact with one another to classify a given gesture.
 

Package diva.sketch.recognition Description

Utilities for doing single-stroke and multi-stroke 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. Classes with Stroke in their names are single-stroke related, and classes with Scene in the names are multi-stroke related. For example, BasicStrokeRecognizer performed recognition on single strokes, while SceneRecognizer performed incremental 2D parsing on a scene database containing multiple strokes.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.