<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi 张 小, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018387#M37084</link>
    <description>&lt;P&gt;Hi &lt;A href="https://software.intel.com/en-us/user/1101637"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;张 小,&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regarding smoothing, note that you have 4 flavors of smoothing - Stabilizer, Weighted, Quadratic and Spring, for mouse cursor I would suggest using the quadratic/spring. if delay is an issue, when initializing the smoother you can play with the init values to find what suits you best.&lt;/P&gt;

&lt;P&gt;Regarding tracking area, if you are using unity, you can use the unity tool kit which provides a way of controlling the world box/screen. We are always working on improving the product and will try to do our best to add the above feature to the general sdk.&lt;/P&gt;

&lt;P&gt;Be careful of real mouse, it can bite :)&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Ron&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Dec 2014 08:31:19 GMT</pubDate>
    <dc:creator>Ron_S_Intel</dc:creator>
    <dc:date>2014-12-10T08:31:19Z</dc:date>
    <item>
      <title>Problem about stabilization and delay</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018386#M37083</link>
      <description>&lt;P&gt;I use handtracking&amp;nbsp; to control&amp;nbsp;cursor ,and gesture to control mouse button to manipulate GUI, however, the tracking position is not s&lt;SPAN left-pos="0|6" right-pos="0|6" space=""&gt;table ,so I used smoothing&amp;nbsp;&amp;nbsp;, but it will lead to delay .&amp;nbsp; What's more,&amp;nbsp;I want&amp;nbsp;hand moving in a small area and can control a big screen, that means high sensitive, and the &amp;nbsp;&lt;/SPAN&gt;stabilization and delay is a big problem for me.&lt;SPAN left-pos="0|6" right-pos="0|6" space=""&gt;&amp;nbsp; Are there any s&lt;/SPAN&gt;&lt;SPAN class="high-light-bg" left-pos="0|12" right-pos="0|12" space=""&gt;olution to fix these problem,&amp;nbsp; don't say the best solution is to use a&amp;nbsp;real mouse,haha.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 07:55:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018386#M37083</guid>
      <dc:creator>张_小_</dc:creator>
      <dc:date>2014-12-10T07:55:09Z</dc:date>
    </item>
    <item>
      <title>Hi 张 小,</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018387#M37084</link>
      <description>&lt;P&gt;Hi &lt;A href="https://software.intel.com/en-us/user/1101637"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;张 小,&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regarding smoothing, note that you have 4 flavors of smoothing - Stabilizer, Weighted, Quadratic and Spring, for mouse cursor I would suggest using the quadratic/spring. if delay is an issue, when initializing the smoother you can play with the init values to find what suits you best.&lt;/P&gt;

&lt;P&gt;Regarding tracking area, if you are using unity, you can use the unity tool kit which provides a way of controlling the world box/screen. We are always working on improving the product and will try to do our best to add the above feature to the general sdk.&lt;/P&gt;

&lt;P&gt;Be careful of real mouse, it can bite :)&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Ron&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 08:31:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018387#M37084</guid>
      <dc:creator>Ron_S_Intel</dc:creator>
      <dc:date>2014-12-10T08:31:19Z</dc:date>
    </item>
    <item>
      <title>Good technical explanation.</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018388#M37085</link>
      <description>&lt;P&gt;Good technical explanation. Apart from it, I really liked the following statement :)&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Ron S. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Be careful of real mouse, it can bite :)&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Ron&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 09:18:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018388#M37085</guid>
      <dc:creator>Basaveswar_K_</dc:creator>
      <dc:date>2014-12-10T09:18:01Z</dc:date>
    </item>
    <item>
      <title>Cheers Basaveswar K.</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018389#M37086</link>
      <description>&lt;P&gt;&lt;A href="https://software.intel.com/en-us/user/1101637"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;张 小,&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; Another option I can suggest is using the TouchlessController module, this module is specifically designed for cursor purposes and might fit your need.&lt;/P&gt;

&lt;P&gt;See c# sample $(RSSDK_PATH)\framework\Csharp\touchless_listbox.cs&lt;/P&gt;

&lt;P&gt;Here is a c++ snippet that get event on CursorMove with x,y,z coordinates in the range 0-1&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;// Create an instance of the Session and SenseManager
PXCSession * session = NULL;&amp;#11;PXCSenseManager *senseMgr = NULL;
pxcStatus sts = PXCSession_Create(&amp;amp;session);
session-&amp;gt;CreateSenseManager(&amp;amp;senseMgr);
// Enable the touchless controller module
senseMgr-&amp;gt;EnableTouchlessController();
// Get the system running
senseMgr-&amp;gt;Init();

// Inherite from UXEventHandler
class MyEventHandler : public PXCTouchlessController::UXEventHandler{
public:
virtual ~MyEventHandler(){}
virtual&amp;nbsp; void PXCAPI OnFiredUXEvent(const PXCTouchlessController::UXEventData *uxEventData)
{
&amp;nbsp;switch (uxEventData-&amp;gt;type)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case PXCTouchlessController::UXEventData::UXEvent_CursorMove:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("x=%f,y=%f",uxEventData-&amp;gt;position.x,xEventData-&amp;gt;position.y);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
};

// Get touchless controller and register for events
senseMgr-&amp;gt;QueryTouchlessController();
MyEventHandler eventHandler;
touchlessController-&amp;gt;SubscribeEvent(&amp;amp;eventHandler);

// Main processing loop (run “for ever”)
senseMgr-&amp;gt; StreamFrames(false);
// event are now fired

&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 11:43:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018389#M37086</guid>
      <dc:creator>Ron_S_Intel</dc:creator>
      <dc:date>2014-12-10T11:43:06Z</dc:date>
    </item>
    <item>
      <title>hi ,Ron:</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018390#M37087</link>
      <description>&lt;P&gt;hi ,Ron:&lt;/P&gt;

&lt;P&gt;Thanks for your reply , I'll try different smoothing methods and the touchless module and choose the best one.&lt;/P&gt;

&lt;P&gt;By the way,I have another question:&amp;nbsp;the sdk provide us some methods to get a full&amp;nbsp;hand's position:&amp;nbsp;1.&amp;nbsp; PXCMHandData&lt;SPAN class="f_CodeExample"&gt;.iHand.QueryMassCenterImage ; 2. &lt;/SPAN&gt;PXCMHandData&lt;SPAN class="f_CodeExample"&gt;.iHand.&lt;/SPAN&gt;QueryTrackedJoint&amp;nbsp;&amp;nbsp;+ JointData.positionWorld or positionImage .&lt;/P&gt;

&lt;P&gt;I would like to know which one is faster and more&amp;nbsp;stable, or&amp;nbsp;are there&amp;nbsp;any other good ways.&lt;/P&gt;

&lt;P&gt;The touchless_list sample is a good ref for me but I don't&amp;nbsp;know how to&amp;nbsp;use the touchless module to make&amp;nbsp;gesture flexibly, for example,I can't&amp;nbsp;use the "&lt;SPAN class="f_CodeExample"&gt;two_fingers_pinch_open" &lt;/SPAN&gt;to triggle a mouse button&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 15:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018390#M37087</guid>
      <dc:creator>张_小_</dc:creator>
      <dc:date>2014-12-10T15:21:00Z</dc:date>
    </item>
    <item>
      <title>Hi 张 小,,</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018391#M37088</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/user/1101637" style="font-size: 12px; line-height: 18px;"&gt;张 小,&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;I was working with similar issues to yours when working on my application today. &amp;nbsp;Trying to have a big effect in a small area in front of the camera, and stabilize the objects (which kept tearing themselves apart once they started moving).&lt;/P&gt;

&lt;P&gt;In my own project, I found that the disruption was caused by the Virtual World Box around the objects that had the tracking script in ('TrackingAction' in Unity in my case). &amp;nbsp;The solution I found was to set all of the values in the 'Real World Box Dimensions' and 'Virtual World Box Dimensions' to zero. &amp;nbsp;Once I did that, my objects moved super-smoothly.&lt;/P&gt;

&lt;P&gt;I second Ron from Intel's suggestion of using a Spring or Quadratic with your smoothing - both are pretty similar to each other, I've found, and both produce good results. &amp;nbsp;I'm using a Spring with a Smoothing factor of '1' with the 'TrackingAction' script.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 16:16:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018391#M37088</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2014-12-10T16:16:18Z</dc:date>
    </item>
    <item>
      <title>Hi 张 小,,</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018392#M37089</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1101637"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;张 小,&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;Please see my answers below:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;By the way,I have another question:&amp;nbsp;the sdk provide us some methods to get a full&amp;nbsp;hand's position:&amp;nbsp;1.&amp;nbsp; PXCMHandData.iHand.QueryMassCenterImage ; 2. PXCMHandData.iHand.QueryTrackedJoint&amp;nbsp;&amp;nbsp;+ JointData.positionWorld or positionImage .&lt;/P&gt;

	&lt;P&gt;I would like to know which one is faster and more&amp;nbsp;stable, or&amp;nbsp;are there&amp;nbsp;any other good ways.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;It depends on what you are trying to achieve, faster - both are the same,&amp;nbsp;stable -&amp;nbsp;for cursor purposes the mass center image would be more stable then a finger tip.&lt;/P&gt;

&lt;P&gt;if you don't need the full hand tracking (22 joints) I can also suggest using the PXCBlobExtractor which is more robust - see $(RSSDK_PATH)\sample\maskutils&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;The touchless_list sample is a good ref for me but I don't&amp;nbsp;know how to&amp;nbsp;use the touchless module to make&amp;nbsp;gesture flexibly, for example,I can't&amp;nbsp;use the "two_fingers_pinch_open" to triggle a mouse button&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I would suggest using TouchlessControl module for cursor&amp;nbsp;and HandModule to detect gestures.&lt;/P&gt;

&lt;P&gt;Have a nice day,&lt;/P&gt;

&lt;P&gt;Ron&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2014 07:32:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018392#M37089</guid>
      <dc:creator>Ron_S_Intel</dc:creator>
      <dc:date>2014-12-11T07:32:57Z</dc:date>
    </item>
    <item>
      <title>Hi, Ron:</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018393#M37090</link>
      <description>&lt;P&gt;Hi, Ron:&lt;/P&gt;

&lt;P&gt;Cool ,new solutions, I think I will try blob later&amp;nbsp;.Thank you . &amp;nbsp;Here comes the other questions: &amp;nbsp;1. Have you ever met this problem, my solution is to change the Api Compatibility Level in Unity player settings, but it can only temporarily solve it.&lt;span class="lia-inline-image-display-wrapper" image-alt="bug.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7180iE488402704CF5CD9/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="bug.jpg" alt="bug.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;2. I am using the unity toolkit, for the Send Message Action, I found different Gesture trigger&amp;nbsp;send the same trigger value &amp;nbsp;"gesture detected",so I can't tell them apart in the OnTrigger function.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2014 09:16:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018393#M37090</guid>
      <dc:creator>张_小_</dc:creator>
      <dc:date>2014-12-11T09:16:17Z</dc:date>
    </item>
    <item>
      <title>For the second question , I</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018394#M37091</link>
      <description>&lt;P&gt;For the second question , I think I can use more Send Message Action scripts and more trigger function to solve it&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2014 09:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018394#M37091</guid>
      <dc:creator>张_小_</dc:creator>
      <dc:date>2014-12-11T09:57:00Z</dc:date>
    </item>
    <item>
      <title>Hi 张 小.</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018395#M37092</link>
      <description>&lt;P&gt;Hi &lt;A href="https://software.intel.com/en-us/user/1101637"&gt;&lt;U&gt;&lt;FONT color="#0066cc"&gt;张 小.&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;1. It is a common unity issue, I have found possible solutions in&amp;nbsp;&amp;nbsp;&lt;A href="&amp;lt;a href=&amp;quot;http://forum.unity3d.com/threads/file-access-denied.220913/&amp;quot;&amp;gt;http://forum.unity3d.com/threads/file-access-denied.220913/&amp;lt;/a&amp;gt; &amp;nbsp;"&gt;&lt;/A&gt;&lt;A href="http://forum.unity3d.com/threads/file-access-denied.220913/"&gt;http://forum.unity3d.com/threads/file-access-denied.220913/&lt;/A&gt; &amp;nbsp;&lt;/P&gt;

&lt;P align="LEFT"&gt;&lt;FONT face="IntelClear" size="3"&gt;&lt;FONT face="IntelClear" size="3"&gt;2. The &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="CourierNew" size="2"&gt;&lt;FONT face="CourierNew" size="2"&gt;Send Message &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="IntelClear" size="3"&gt;&lt;FONT face="IntelClear" size="3"&gt;action uses Unity’s “&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="CourierNew" size="2"&gt;&lt;FONT face="CourierNew" size="2"&gt;Send Message&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="IntelClear" size="3"&gt;&lt;FONT face="IntelClear" size="3"&gt;” &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="IntelClear" size="3"&gt;&lt;FONT face="IntelClear" size="3"&gt;capability and calls the function listed in “&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="CourierNew" size="2"&gt;&lt;FONT face="CourierNew" size="2"&gt;Function&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="CourierNew" size="2"&gt;&lt;FONT face="CourierNew" size="2"&gt;Name&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="IntelClear" size="3"&gt;&lt;FONT face="IntelClear" size="3"&gt;” with the selected trigger as the argument, your solution is good, you can also expend the toolkit and implement your own action script function.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P align="LEFT"&gt;Regards,&lt;/P&gt;

&lt;P align="LEFT"&gt;Ron&lt;/P&gt;

&lt;P align="LEFT"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Dec 2014 17:39:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018395#M37092</guid>
      <dc:creator>Ron_S_Intel</dc:creator>
      <dc:date>2014-12-14T17:39:46Z</dc:date>
    </item>
    <item>
      <title>小张，你好啊！
看了半天居然也有中国人在这发帖哈哈哈！</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018396#M37093</link>
      <description>&lt;P&gt;小张，你好啊！&lt;/P&gt;

&lt;P&gt;看了半天居然也有中国人在这发帖哈哈哈！&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 12:27:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-about-stabilization-and-delay/m-p/1018396#M37093</guid>
      <dc:creator>涛_季_</dc:creator>
      <dc:date>2015-02-08T12:27:13Z</dc:date>
    </item>
  </channel>
</rss>

