How to get gesture IDs

Posted by Colin Gough on Stack Overflow See other posts from Stack Overflow or by Colin Gough
Published on 2011-03-15T15:41:27Z Indexed on 2011/03/15 16:09 UTC
Read the original article Hit count: 216

Filed under:
|
|

Is there anyway to get a list of gesture ids, from the gesture library that has been created using gesturebuilder.

I want to link each gesture to an images, so some sort of an id or name is needed. I have looked at the samples and other online material avaialbe for gestures, and there is no information on this matter.

Any help in this matter would be appreciated.

Example:

if (predictions.size() > 0)
{
Prediction prediction = predictions.get(0);
if (prediction.score > 1.0)
{
        if(prediction.best_score == Current_Image)
        {
            Correct();
            Next_image();
        }
    }
}

© Stack Overflow or respective owner

Related posts about android

Related posts about id