Increased gesture detection threshold

pull/14/head
Tim Su 16 years ago
parent 2af576531e
commit c0e9ae6ff3

@ -34,7 +34,7 @@ public class Api4GestureDetector implements OnGesturePerformedListener {
if (predictions.size() > 0) {
Prediction prediction = predictions.get(0);
// We want at least some confidence in the result
if (prediction.score > 1.0) {
if (prediction.score > 2.0) {
listener.gesturePerformed(prediction.name);
}
}

Loading…
Cancel
Save