<?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 Lucas - Are you in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106952#M70741</link>
    <description>&lt;P&gt;Hi Lucas -&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Are you controlling a gameobject using blob tracking, and want to apply a collider to the game object? Just trying to understand your application a little better.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2016 21:55:57 GMT</pubDate>
    <dc:creator>Bryan_B_Intel1</dc:creator>
    <dc:date>2016-02-03T21:55:57Z</dc:date>
    <item>
      <title>How to use Blob data on Unity?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106951#M70740</link>
      <description>&lt;P&gt;Hey guys, I managed to write a script that retrieves IContour Blob Data from the camera.&lt;BR /&gt;
	I don't have much experience by writing RealSense's custom scripts on Unity so I was wondering...&lt;BR /&gt;
	How do I pass the information to the engine so the Blob Contour can be made into a collider?&lt;BR /&gt;
	Here's the script for reference:&lt;/P&gt;

&lt;PRE class="brush:csharp;"&gt;switch(RealSenseCameraStatus)
        {
            case pxcmStatus.PXCM_STATUS_NO_ERROR:
                HandDataOutput.Update();
                blobData.Update();
                Int32 iBlobsNum = blobData.QueryNumberOfBlobs();
                for (int i = 0; i &amp;lt; iBlobsNum; i++)
                {
                    PXCMBlobData.IBlob pBlob;
                    PXCMBlobData.IContour pContour;
                    blobData.QueryBlobByAccessOrder(i, PXCMBlobData.AccessOrderType.ACCESS_ORDER_RIGHT_TO_LEFT, out pBlob);
                    pBlob.QueryContour(i, out pContour);
                }
                SenseManager.ReleaseFrame();
                break;

            case pxcmStatus.PXCM_STATUS_EXEC_TIMEOUT:
                break;
        }&lt;/PRE&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:39:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106951#M70740</guid>
      <dc:creator>Lucas_M_2</dc:creator>
      <dc:date>2016-01-28T12:39:40Z</dc:date>
    </item>
    <item>
      <title>Hi Lucas - Are you</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106952#M70741</link>
      <description>&lt;P&gt;Hi Lucas -&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Are you controlling a gameobject using blob tracking, and want to apply a collider to the game object? Just trying to understand your application a little better.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:55:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106952#M70741</guid>
      <dc:creator>Bryan_B_Intel1</dc:creator>
      <dc:date>2016-02-03T21:55:57Z</dc:date>
    </item>
    <item>
      <title>Hi Bryan, I'm actually trying</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106953#M70742</link>
      <description>&lt;P&gt;Hi Bryan, I'm actually trying to do something similar as done by the game Warrior Wave by using user segmentation and blob tracking. In this game the user's hands are made into colliders, so he can manipulate the scene.&lt;/P&gt;

&lt;P&gt;Warrior Wave demo&lt;BR /&gt;
	&lt;A href="https://www.youtube.com/watch?v=DYzOSCX6gp0"&gt;https://www.youtube.com/watch?v=DYzOSCX6gp0&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Lucas&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 12:06:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106953#M70742</guid>
      <dc:creator>Lucas_M_2</dc:creator>
      <dc:date>2016-02-04T12:06:38Z</dc:date>
    </item>
    <item>
      <title>Hi Lucas,</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106954#M70743</link>
      <description>&lt;P&gt;Hi Lucas,&lt;/P&gt;

&lt;P&gt;Please take a look at this documentation link:&amp;nbsp;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_blob_understanding_the_blob_data.html&lt;/P&gt;

&lt;P&gt;Basically, the blob data will provide you the points of the contour, where you are going to use the to create the sprite to represent the blob and also its collider. Here are some links about how to do this (assuming that you are looking to 2D generation):&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.unity3d.com/ScriptReference/Sprite.Create.html" target="_blank"&gt;http://docs.unity3d.com/ScriptReference/Sprite.Create.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.unity3d.com/questions/595208/can-i-create-a-sprite-at-runtime.html" target="_blank"&gt;http://answers.unity3d.com/questions/595208/can-i-create-a-sprite-at-runtime.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.unity3d.com/questions/601640/correct-way-to-draw-on-screen-for-2d-game.html" target="_blank"&gt;http://answers.unity3d.com/questions/601640/correct-way-to-draw-on-screen-for-2d-game.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.unity3d.com/questions/575363/how-can-i-change-my-polygon-collider-to-correctly.html" target="_blank"&gt;http://answers.unity3d.com/questions/575363/how-can-i-change-my-polygon-collider-to-correctly.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.unity3d.com/Manual/class-PolygonCollider2D.html" target="_blank"&gt;http://docs.unity3d.com/Manual/class-PolygonCollider2D.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I hope that it helps.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Felipe&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:09:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-use-Blob-data-on-Unity/m-p/1106954#M70743</guid>
      <dc:creator>Felipe_P_Intel</dc:creator>
      <dc:date>2016-02-05T18:09:32Z</dc:date>
    </item>
  </channel>
</rss>

