Note that there are some explanatory texts on larger screens.

plurals
  1. POcomparing user signature using guestures
    primarykey
    data
    text
    <p>In my application , user will input signature and the next time it will compare and do the authentication.</p> <p>I have see question on SO but I cant find how we compare. If we use gesture and store file as image , Its not correct as next time user might sign with little variation.</p> <p>I have tried comparing using Gestures it self but , firstly multistroke is not working properly and second predictions are not perfect.</p> <p>To add gesture to library : public void addGesture() { if (mGesture != null) { </p> <pre><code> final GestureLibrary store = getStore(); store.addGesture("ges", mGesture); store.save(); setResult(RESULT_OK); final String path = new File(Environment.getExternalStorageDirectory(), "gestures").getAbsolutePath(); Toast.makeText(this,"success", Toast.LENGTH_LONG).show(); } else { setResult(RESULT_CANCELED); } } </code></pre> <p>Comparing :</p> <pre><code>public void onGesturePerformed(GestureOverlayView overlay, Gesture gesture) { ArrayList&lt;Prediction&gt; predictions = mLibrary.recognize(gesture); Log.e("predictions","predictions----"+predictions.size()); // We want at least one prediction if (predictions.size() &gt; 0) { Prediction prediction = predictions.get(0); // We want at least some confidence in the result Log.e("SCORE","SCORE----"+prediction.score); if (prediction.score &gt; 1.0) { // Show the spell Toast.makeText(this, prediction.name, Toast.LENGTH_SHORT).show(); } } } </code></pre> <p>Can anyone suggest something regaurding this.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload