Android Gesture Forecast Rating Range

I am working on an Android game that uses gestures as input. I have a working demo, but gesture recognition seems too liberal (for example, there are a lot of false positives), and since I am considering a gesture library of 30 or so, this will be more of a problem as I add in new gestures.

The official documentation is here:

http://developer.android.com/resources/articles/gestures.html

It says:

In this example, the first prediction is taken into account only if its estimate is greater than 1.0. The threshold that you use is fully aware that ratings below 1.0 are generally poor.

Ok, that's great, but what is the range of values ​​for prediction.score? Neither this page nor javadocs seem to provide a number of meanings. Does anyone here know? In any case, I will have to change the values, but it would be nice to have some basic assumptions for my guesses, and this seems like a strange oversight of the documentation.

+5
source share
3 answers

The upper limit for the prediction range. A good way to correspond with a gesture is usually to sort forecasts by decreasing the rating, and if the first gesture has a rating> 1, you have a good match.

+4
source

. SEQUENCE_SENSITIVE ORIENTATION_INVARIANT. , .

+2

, , . , , -, 1,8 , , .. , .

I would appreciate which grades are appropriate for each gesture. If the gesture is a straight line, you can only search for a batch of ~ 1.2 or higher, but if you draw a star or a box or something like that, you may need a higher score to reduce false positives - in any case, evaluate for the gesture, The score is suitable for the cutoff point.

0
source

All Articles