<div dir="ltr"><div>Chuck,</div><div><br></div><div>thanks for the hint, sounds good. I will give a try tomorrow, but already started to have some other solutions, and I played with time delay. I mean under it to compare XYZ coordinates in time, if delta is close to the noise, than I expect that the object (hand) is still.</div><div>However, there are bigger problems, as the hand disappears if the hand touches the background, in this case I have a lost hand. Assuming that I lost on the very last position, just before touching the wall, I can get a quite close parameter of the hand.<br></div><div>Still need some tests, but together with yours probably can have a better assumption.</div><div><br></div><div>Best,</div><div>Popesz<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 2, 2020 at 12:56 AM Charles Z Henry <<a href="mailto:czhenry@gmail.com">czhenry@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Popesz,<br>
<br>
At least on kinect, there's always a bit of noise in the tracking.<br>
The change from frame-to-frame will never be exactly 0, so you need<br>
something that acts more like a threshold.<br>
<br>
One place to start would be collecting some data on the amplitude of<br>
the noise when you're doing what you'd consider standing still.<br>
For one dimensional data, you just want to see how big is the typical<br>
value of |x(n)-x(n-1)|.  For more dimensions, you need sqrt sum of<br>
squares on the differences<br>
<br>
Then, I'd probably give it a exponential decay weighting and compare<br>
against a threshold that is just some factor larger than the basic<br>
noise amplitude.<br>
<br>
1-D:<br>
[r coordinate]<br>
|<br>
[t f f]<br>
X<br>
[- 0]<br>
|   [r fb]<br>
|   [* 0.9] or some other factor <1<br>
[+ 0]<br>
|\<br>
| [s fb]<br>
|<br>
[expr $f1 < 10]<br>
|<br>
[select 0 1]<br>
<br>
My kinect data is all over the place.  The device is really sensitive<br>
to lighting, background detail, and so on.  You should consider that<br>
the noise may be larger sometimes depending on where you're using the<br>
sensor.<br>
<br>
Chuck<br>
<br>
<br>
On Sat, Feb 1, 2020 at 2:58 PM Csaba Láng <<a href="mailto:langcsaba@gmail.com" target="_blank">langcsaba@gmail.com</a>> wrote:<br>
><br>
> Dearest list,<br>
><br>
> is there any object which only gives me a value from a constantly changing random numbers when it stops for a while, let's say for one second or so?<br>
> I am looking for the parameters of tracking hands from Kinect like motion detector when the hands stops on an object for a while.<br>
><br>
> Best,<br>
><br>
> Popesz<br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>