<?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 Re: SR300 camera video in Unity in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284540#M381</link>
    <description>&lt;P&gt;Hi Leonardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2017 03:50:21 GMT</pubDate>
    <dc:creator>MMoha17</dc:creator>
    <dc:date>2017-04-06T03:50:21Z</dc:date>
    <item>
      <title>SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284537#M378</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to view the SR300 video in my GUI while using gesture in the camera preview. In other words, when the user is using the SR300 to control something via a GUI, I would like to add the video of themselves in the GUI so that they can see themselves in the GUI. I think a plane can be added and a script can be added to that plane to show the video as shown in the attachment below. However, I have tried to input a script in but it is too complicated and has errors. May I know if there are simpler ways to get camera video attached to the GUI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 04:10:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284537#M378</guid>
      <dc:creator>MMoha17</dc:creator>
      <dc:date>2017-04-05T04:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284538#M379</link>
      <description>&lt;P&gt;Hi Supermomo90,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you for contacting us.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;To be honest, I don't have experience with Unity, but I'll investigate more about it, and I'll let you when we have updates.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Have a nice day.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Leonardo R.</description>
      <pubDate>Wed, 05 Apr 2017 19:40:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284538#M379</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-04-05T19:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284539#M380</link>
      <description>&lt;P&gt;The instruction for putting a webcam feed on the surface of an object in Unity is WebCamTexture&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 20:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284539#M380</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-05T20:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284540#M381</link>
      <description>&lt;P&gt;Hi Leonardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 03:50:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284540#M381</guid>
      <dc:creator>MMoha17</dc:creator>
      <dc:date>2017-04-06T03:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284541#M382</link>
      <description>&lt;P&gt;Hi MartyG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script uses an external webcam or the video stream from the SR300 directly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 03:51:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284541#M382</guid>
      <dc:creator>MMoha17</dc:creator>
      <dc:date>2017-04-06T03:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284542#M383</link>
      <description>&lt;P&gt;You can specify which webcam (or 'device') is used to provide the feed - either your SR300 or another cam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I knew that I'd used WebCamTexture on a previous project.  I used to keep detailed step by step making-of diaries of my projects, and managed to locate in my archives the diary entry relating to this function.  I found a link in that diary to the Unity documentation for the Play sub-function of WebCamTexture.  Place the code on ths page inside a script within the object that you want to display the webcam feed on the surface of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.unity3d.com/ScriptReference/WebCamTexture.Play.html"&gt;https://docs.unity3d.com/ScriptReference/WebCamTexture.Play.html&lt;/A&gt; Unity - Scripting API: WebCamTexture.Play&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 08:23:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284542#M383</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-06T08:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284543#M384</link>
      <description>&lt;P&gt;Hi MartyG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an Image object from the UI section and then assigned the script to that object as you mentioned, however, there seems to be no image formed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 15:16:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284543#M384</guid>
      <dc:creator>MMoha17</dc:creator>
      <dc:date>2017-04-06T15:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284544#M385</link>
      <description>&lt;P&gt;This link suggests using RawImage instead of Image in your script for displaying the webcam on a UI component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://answers.unity3d.com/questions/909967/getting-a-web-cam-to-play-on-ui-texture-image.html"&gt;http://answers.unity3d.com/questions/909967/getting-a-web-cam-to-play-on-ui-texture-image.html&lt;/A&gt; Getting A Web Cam to Play on UI Texture Image - Unity Answers&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 15:42:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284544#M385</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-06T15:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284545#M386</link>
      <description>&lt;P&gt;Hi MartyG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a black screen with the settings shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 02:53:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284545#M386</guid>
      <dc:creator>MMoha17</dc:creator>
      <dc:date>2017-04-07T02:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284546#M387</link>
      <description>&lt;P&gt;I experimented with the script in my own project and managed to get it working.  Here's what I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;STEP ONE&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add this line to the header of your script.  It tells Unity how to handle a UI RawImage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using UnityEngine.UI;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;STEP TWO&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the picture in that linked article that had the script, it shows a component called a RawImage being used to display the webcam feed, instead of the usual Image component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the object with your webcam feed script in and remove the Image component (as you can only have one image-related component in a UI object, Unity says if you try to add a RawImage whilst an Image component is already there).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add a RawImage component with Component &amp;gt; UI &amp;gt; Raw Image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;STEP THREE&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to your webcam feed script in the Inspector and look for the option called 'Rawimage'.  Left-click on the little icon next to it to bring up the image selector, and select 'Image', which should be the only one in the list, so you can't miss it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;STEP FOUR&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run your program.  The webcam feed should now display on the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 07:18:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284546#M387</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-07T07:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284547#M388</link>
      <description>&lt;P&gt;Hi MartyG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works. Thank you very much. However, how do I make unity receive the video from the SR300 instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 08:23:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284547#M388</guid>
      <dc:creator>MMoha17</dc:creator>
      <dc:date>2017-04-07T08:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284548#M389</link>
      <description>&lt;P&gt;This script allows you to change between cameras by clicking an on-screen button.  It doesn't look like it would be difficult to adapt it for your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://answers.unity3d.com/questions/821409/switch-device-camera.html"&gt;http://answers.unity3d.com/questions/821409/switch-device-camera.html&lt;/A&gt; Switch device camera. - Unity Answers &lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 08:43:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284548#M389</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-07T08:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: SR300 camera video in Unity</title>
      <link>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284549#M390</link>
      <description>&lt;P&gt;Hi MartyG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:07:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/SR300-camera-video-in-Unity/m-p/284549#M390</guid>
      <dc:creator>MMoha17</dc:creator>
      <dc:date>2017-04-11T15:07:07Z</dc:date>
    </item>
  </channel>
</rss>

