|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.recognition.Recognition
public class Recognition
An interpretation of a stroke or a set of strokes as a data/confidence pair. The confidence varies between 0 and 1 inclusive.
Constructor Summary | |
---|---|
Recognition(TypedData data,
double confidence)
Construct a new recognition using the given data and confidence. |
Method Summary | |
---|---|
double |
getConfidence()
Return the confidence of this recognition as a value between 0 and 1, inclusive. |
TypedData |
getData()
Return the data of this recognition. |
Type |
getType()
Return the type of this recognition. |
String |
toString()
Print the contents of this recognition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Recognition(TypedData data, double confidence)
Method Detail |
---|
public double getConfidence()
public Type getType()
public TypedData getData()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |