<?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/Challenge-Work-together/m-p/1005131#M31862</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can someone point out the error in this code. All I am trying to do is print no of faces detected by the RealSense Camera.&lt;P&gt;&lt;/P&gt;&lt;/P&gt;

&lt;P&gt;here's the code. It only prints infinite 0s, even if there is a face in front of the Camera.&lt;P&gt;&lt;/P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp;PXCMSenseManager sm = PXCMSenseManager.CreateInstance();&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sm.EnableFace();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sm.Init();&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (sm.AcquireFrame()&amp;gt;= pxcmStatus.PXCM_STATUS_NO_ERROR )&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PXCMFaceModule face2 = sm.QueryFace();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PXCMFaceData fdata= face2.CreateOutput();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Int32 no = fdata.QueryNumberOfDetectedFaces();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(no);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fdata.Dispose(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;Thanks,&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;Shaleen&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Dec 2014 11:09:56 GMT</pubDate>
    <dc:creator>HexLord</dc:creator>
    <dc:date>2014-12-06T11:09:56Z</dc:date>
    <item>
      <title>Challenge: Work together?</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005124#M31855</link>
      <description>&lt;P abp="992"&gt;I want to develop a WPF application, but the samples are developed with WinForms which is dead for more than 10 years now.&lt;BR abp="993" /&gt;
	Also the sample code is not written in a&amp;nbsp;clean code style.&lt;/P&gt;

&lt;P abp="994"&gt;So maybe anybody is interesting in sharing clean code WPF samples.&lt;BR abp="995" /&gt;
	I will not hesitate to share my RealSense WPF libraries.&lt;BR abp="996" /&gt;
	Should I put them on GutHub or post&amp;nbsp;them here&amp;nbsp;in the forum?&lt;/P&gt;

&lt;P abp="997"&gt;Maybe we open different threads for each technology (WPF, Unity, ..)&lt;/P&gt;</description>
      <pubDate>Sat, 29 Nov 2014 21:44:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005124#M31855</guid>
      <dc:creator>Dirk_R_</dc:creator>
      <dc:date>2014-11-29T21:44:11Z</dc:date>
    </item>
    <item>
      <title>Given the time constraints, I</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005125#M31856</link>
      <description>&lt;P&gt;Given the time constraints, I doubt something like this would work. Specially for multiple technologies.&lt;/P&gt;

&lt;P&gt;I guess the best would be to show how to access to the actual raw data, so that everyone can then apply that to their own environments.&lt;/P&gt;

&lt;P&gt;For example, to get the raw depth values as floats (pxcF32 is just a float), you can do something like this: (no error checkings for simplicity)&lt;/P&gt;

&lt;PRE style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"&gt;PXCSenseManager *pp = PXCSenseManager::CreateInstance();
unsigned int depthWidth = 640;
unsigned int depthHeight = 480;
unsigned int depthFPS = 60;
pp-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_DEPTH, depthWidth, depthHeight, depthFPS);
pp-&amp;gt;Init();
const PXCCapture::Sample *sample = pp-&amp;gt;QuerySample();
PXCImage::ImageData * data = new PXCImage::ImageData;
sample-&amp;gt;depth-&amp;gt;AcquireAccess(PXCImage::ACCESS_READ, PXCImage::PIXEL_FORMAT_DEPTH_F32, data);
for(int y=0; y &amp;lt; depthHeight; y++)
    for(int x=0; x &amp;lt; depthWidth; x++)
    {
    pxcF32 depthvalue = ((pxcF32*)data-&amp;gt;planes[0])[y * depthWidth + x];
    }
&lt;SPAN style=" color:#000000;"&gt;sample&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=" color:#800000;"&gt;depth&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=" font-style:italic; color:#000000;"&gt;ReleaseAccess&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;data&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;);&lt;/SPAN&gt;
&lt;SPAN style=" color:#808000;"&gt;delete&lt;/SPAN&gt;&lt;SPAN style=" color:#c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;data&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;;
pp&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=" font-style:italic; color:#000000;"&gt;ReleaseFrame&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;();&lt;/SPAN&gt;&lt;/PRE&gt;

&lt;PRE style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"&gt;&lt;SPAN style=" color:#000000;"&gt;pp&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=" font-style:italic; color:#000000;"&gt;Release&lt;/SPAN&gt;&lt;SPAN style=" color:#000000;"&gt;();&lt;/SPAN&gt;
&lt;/PRE&gt;

&lt;PRE style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"&gt;&amp;nbsp;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"&gt;&amp;nbsp;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Nov 2014 08:42:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005125#M31856</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2014-11-30T08:42:10Z</dc:date>
    </item>
    <item>
      <title>If folk here do get together</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005126#M31857</link>
      <description>&lt;P&gt;If folk here do get together to share material, I recommend drafting some kind of formal document that gives permission for code to be freely used. &amp;nbsp;This is because a rule of the contest is that you can only use material that you have permissions for if you didn't create it yourself. &amp;nbsp;So you need to be able to back up any claim to freedom of use of that code in your project if someone from the contest asks.&lt;/P&gt;

&lt;P&gt;A Creative Commons agreement would probably do the job.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/Creative_Commons_license" target="_blank"&gt;http://en.wikipedia.org/wiki/Creative_Commons_license&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Nov 2014 13:30:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005126#M31857</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2014-11-30T13:30:00Z</dc:date>
    </item>
    <item>
      <title>Hi Marty,</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005127#M31858</link>
      <description>&lt;P&gt;Hi Marty,&lt;/P&gt;

&lt;P&gt;I guess for small snippets of code a license would be irrelevant, but I do agree with you if the source code is substantial.&lt;/P&gt;

&lt;P&gt;Using creative commons though, is definitely not the right choice here. Here is their FAQ response:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;H4&gt;&lt;SPAN class="mw-headline" id="Can_I_apply_a_Creative_Commons_license_to_software.3F"&gt;Can I apply a Creative Commons license to software?&lt;/SPAN&gt;&lt;/H4&gt;

	&lt;P&gt;We recommend against using Creative Commons licenses for software. Instead, we strongly encourage you to use one of the very good software licenses which are already available.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;A href="https://wiki.creativecommons.org/Frequently_Asked_Questions#Can_I_apply_a_Creative_Commons_license_to_software.3F" target="_blank"&gt;https://wiki.creativecommons.org/Frequently_Asked_Questions#Can_I_apply_a_Creative_Commons_license_to_software.3F&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Instead, I would encourage people to use a permissive open source license, such as BSD, MIT, or zlib so that you can use the sample code and not necesarily open source your code. If someone distributes a sample code with a more restrictive open source license, like&amp;nbsp;GPL for example, all source code that uses that sample must be distributed as open source as well.&lt;/P&gt;

&lt;P&gt;For example, PCL and OpenCV are both distributed using BSD license. I would prefer that license for code samples.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 00:23:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005127#M31858</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2014-12-01T00:23:38Z</dc:date>
    </item>
    <item>
      <title>Also the HP Sprout SDK uses</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005128#M31859</link>
      <description>&lt;P&gt;Also the HP Sprout SDK uses WPF... Sprout is basically RealSense with most of its API access locked away&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 13:08:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005128#M31859</guid>
      <dc:creator>yosun</dc:creator>
      <dc:date>2014-12-01T13:08:18Z</dc:date>
    </item>
    <item>
      <title>I don't understand why people</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005129#M31860</link>
      <description>&lt;P&gt;&amp;nbsp;Why would you want to use WinForms (?)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 13:14:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005129#M31860</guid>
      <dc:creator>yosun</dc:creator>
      <dc:date>2014-12-01T13:14:00Z</dc:date>
    </item>
    <item>
      <title>Quote:yosun wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005130#M31861</link>
      <description>&lt;P abp="453"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;yosun wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P abp="454"&gt;Also the HP Sprout SDK uses WPF... Sprout is basically RealSense with most of its API access locked away&amp;nbsp;&lt;/P&gt;

&lt;P abp="455"&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P abp="456"&gt;Sounds cool.&lt;BR abp="457" /&gt;
	But why is HP encapsulating the Intel Realsense API into a WPF sample, while Intel themselves offer C++ like C# samples for WinForms?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 13:15:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005130#M31861</guid>
      <dc:creator>Dirk_R_</dc:creator>
      <dc:date>2014-12-01T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005131#M31862</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can someone point out the error in this code. All I am trying to do is print no of faces detected by the RealSense Camera.&lt;P&gt;&lt;/P&gt;&lt;/P&gt;

&lt;P&gt;here's the code. It only prints infinite 0s, even if there is a face in front of the Camera.&lt;P&gt;&lt;/P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp;PXCMSenseManager sm = PXCMSenseManager.CreateInstance();&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sm.EnableFace();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sm.Init();&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (sm.AcquireFrame()&amp;gt;= pxcmStatus.PXCM_STATUS_NO_ERROR )&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PXCMFaceModule face2 = sm.QueryFace();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PXCMFaceData fdata= face2.CreateOutput();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Int32 no = fdata.QueryNumberOfDetectedFaces();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(no);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fdata.Dispose(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;&amp;nbsp;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;Thanks,&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:9.0pt"&gt;Shaleen&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2014 11:09:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Challenge-Work-together/m-p/1005131#M31862</guid>
      <dc:creator>HexLord</dc:creator>
      <dc:date>2014-12-06T11:09:56Z</dc:date>
    </item>
  </channel>
</rss>

