<div dir="ltr">On the sensitivity issue... The time that the recognizer considers a gesture was made is unfortunately hard-coded with a #define in this release (sorry for that). However, there&#39;s something you can do (you can train the classifier to detect dynamic acceleration - i.e. when you make a gesture - to be more rigid).<br>
You can&#39;t do it in GUI mode, but you can use the console:<br>There are 2 classes: static acceleration (s.class), and dynamic accelration (d.class)<br><br>Train the dynamic acceleration class:<br>gesm --neo2 --config /etc/accelges/neo2 --new d.class<br>
gesm --neo2 --config /etc/accelges/neo2 --train d.class<br><br>Be aware that this isn&#39;t a gesture training, as it&#39;s a classifier&#39;s class creation, and training. So when you make shake the phone here, you&#39;ll have to press the screen of the Neo (doesn&#39;t matter where) at all time while you make the move. When you release the screen, your dynamic class will be adapted.<br>
Also, once you do this, all the gestures can be considered trash. You&#39;ll have to create, train all the gestures (use the GUI).<br><br>Well, acceleration is not direction unfortunately. A gyroscope can solve this problems - an accelerometer, and a gyroscope will solve these kind of problems.<br>
I can do something in the next release to correct the landscape, move upwards detects right problem; I will try that.<br><br>No, you can&#39;t do that right now, as the duration is hard-coded for now.<br><br>To tool how a gesture looks like, run:<br>
gesm --neo2 --config /etc/accelges/neo2 --view up.model<br>or whatever model you like - it&#39;s a continuous density left-to-right hidden Markov model<br><br>Thanks,<br>Paul<br><br><div class="gmail_quote">On Thu, Aug 14, 2008 at 11:31 PM, Daniel Benoy <span dir="ltr">&lt;<a href="mailto:daniel@benoy.name">daniel@benoy.name</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Looks good :)<br>
<br>
Here&#39;s my experiences, don&#39;t know if these are planned for future releases:<br>
<br>
I don&#39;t know if something is wrong for me though because it&#39;s really sensitive. &nbsp;Handling my phone ordinarally and gently results in a lot of &#39;shake shake&#39;. &nbsp;Would it be possible to require a constant shaking motion for 2 seconds or something before it registers? Also it doesn&#39;t seem to factor out gravity (I don&#39;t know if that is possible?) &nbsp;For example, if I turn my phone upside down, the screen orientation goes with it (Which works great by the way!). &nbsp;If I jerk my phone to the right, up comes &#39;left&#39;. &nbsp;That&#39;s not right. &nbsp;(Hahaha punny!) &nbsp;And if I hold my screen purpendicular to the ground, and jerk the phone upwards and then downwards it detects &#39;forward, backward&#39; etc etc etc. &nbsp;You&#39;re the expert so correct me if I&#39;m wrong, but can we not detect a reasonably consistant 1G force, and then apply a rotation matrix or something to every input value so that things are relative to that direction (And only change the known gravity direction if 1G is sustained in one direction for a long enough period of time) ?<br>

<br>
These training files, how advanced are they? &nbsp;Would I be able to write one that says something like &#39;If the accelerometer detects between three and five sudden changes in direction over #Gs that occur over a period that&#39;s no less than 2 seconds but no more than 4 seconds?&#39;, or stuff that advanced?<br>

<br>
Thanks for the great work so far :)<br>
<div><div></div><div class="Wj3C7c"><br>
On Thursday 14 August 2008 13:01:35 Paul-Valentin Borza wrote:<br>
&gt; I&#39;m proud to announce that the new release of accelerometer-based<br>
&gt; gestures, and screen orientation is now available for download.<br>
&gt; What you&#39;ve seen in the video from<br>
&gt; <a href="http://www.youtube.com/watch?v=K2S2rQUETwc" target="_blank">http://www.youtube.com/watch?v=K2S2rQUETwc</a> is now available.<br>
&gt;<br>
&gt; This release includes:<br>
&gt; An application with user interface that allows the user to train the<br>
&gt; gestures for himself/herself;<br>
&gt; A listener daemon that sends a notification on the screen of the<br>
&gt; recognized gesture;<br>
&gt; Automatically switch of screen orientation for the four possible modes<br>
&gt; (2xportrait, and 2xlandscape).<br>
&gt;<br>
&gt; Here&#39;s the direct link for the release:<br>
&gt; <a href="http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk" target="_blank">http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk</a><br>
&gt; You can find documentation, installation instructions, screenshots<br>
&gt; etc. on the Wiki: <a href="http://wiki.openmoko.org/wiki/Gestures" target="_blank">http://wiki.openmoko.org/wiki/Gestures</a><br>
&gt; There&#39;s a quick way to install it, and a more detailed way... Read<br>
&gt; <a href="http://wiki.openmoko.org/wiki/Gestures" target="_blank">http://wiki.openmoko.org/wiki/Gestures</a><br>
&gt;<br>
&gt; I would suggest carefully reading the instructions, and running the<br>
&gt; gesture listener as soon as you install the package (i.e. before<br>
&gt; training).<br>
&gt; Of course, the gestures were not trained for you (unfortunately I had<br>
&gt; a limited set of training data - only myself), so you&#39;ll have to train<br>
&gt; them for yourself.<br>
&gt;<br>
&gt; Have fun with it!<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Paul<br>
&gt; --<br>
&gt; <a href="http://www.borza.ro" target="_blank">http://www.borza.ro</a><br>
&gt;<br>
</div></div><div><div></div><div class="Wj3C7c">&gt; _______________________________________________<br>
&gt; Openmoko community mailing list<br>
&gt; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
&gt; <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Daniel Benoy<br>
<a href="http://daniel.benoy.name" target="_blank">http://daniel.benoy.name</a><br>
</font><br>_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.borza.ro">http://www.borza.ro</a><br>
</div>