<?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 thoriq, can i see your in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003289#M31017</link>
    <description>&lt;P&gt;Hi thoriq, can i see your code ?&lt;/P&gt;</description>
    <pubDate>Sun, 26 Apr 2015 03:08:44 GMT</pubDate>
    <dc:creator>Adi_P_</dc:creator>
    <dc:date>2015-04-26T03:08:44Z</dc:date>
    <item>
      <title>WPF Face Recognition error.</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003284#M31012</link>
      <description>&lt;P&gt;in my code for saving the recognition file, the "nbytes" variable always return null value. but when I try to develop in winform, it runs no error. and this is the part of my code.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;private void registerButton_Click(object sender, RoutedEventArgs e)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; faceData = face.CreateOutput();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; faceData.Update();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var numOfFaceDetected = faceData.QueryNumberOfDetectedFaces();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (faceData.QueryNumberOfDetectedFaces() &amp;lt;= 0)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PXCMFaceData.Face qface = faceData.QueryFaceByIndex(0);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (qface == null)&lt;BR /&gt;
	&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; &amp;nbsp; &amp;nbsp; throw new Exception("PXCMFaceData.Face null");&lt;BR /&gt;
	&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; PXCMFaceData.RecognitionData rdata = qface.QueryRecognition();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (rdata == null)&lt;BR /&gt;
	&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; &amp;nbsp; &amp;nbsp; throw new Exception(" PXCMFaceData.RecognitionData null");&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PXCMFaceData.RecognitionModuleData rmd = faceData.QueryRecognitionModule();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Int32 nbytes = rmd.QueryDatabaseSize();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Byte[] buffer = new Byte[nbytes];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rmd.QueryDatabaseBuffer(buffer);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File.WriteAllBytes("text.txt", buffer);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rdata.RegisterUser();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id++;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AddDatabase(id);&lt;BR /&gt;
	&amp;nbsp; &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; faceData.Dispose();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I check the value of&amp;nbsp;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;numOfFaceDetected&amp;nbsp;&lt;/SPAN&gt;return the right number of face detected. But, when I try to get the nbytes values, it returns null. But when I check in debug mode&amp;nbsp;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;rmd.QueryDatabaseSize(); has unique value. Any solution? thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 06:33:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003284#M31012</guid>
      <dc:creator>Hermawan_R_</dc:creator>
      <dc:date>2015-02-09T06:33:01Z</dc:date>
    </item>
    <item>
      <title>This is known issue and we</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003285#M31013</link>
      <description>&lt;P&gt;This is known issue and we will fix it in the future release. Thanks for supporting RealSense SDK.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 23:21:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003285#M31013</guid>
      <dc:creator>Xusheng_L_Intel</dc:creator>
      <dc:date>2015-02-10T23:21:12Z</dc:date>
    </item>
    <item>
      <title>i think you can save a</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003286#M31014</link>
      <description>&lt;P&gt;i think you can save a serialized data to be *.dat file instead of saving it into txt file :D&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2015 15:55:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003286#M31014</guid>
      <dc:creator>Thoriq_S_</dc:creator>
      <dc:date>2015-04-25T15:55:14Z</dc:date>
    </item>
    <item>
      <title>oh, i suggest you to develop</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003287#M31015</link>
      <description>&lt;P&gt;oh, i suggest you to develop your apps in windows form. i have developed a WPF apps and i got unknown error, but when i develop it in windows form, using same algorithm, i had no error&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2015 15:57:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003287#M31015</guid>
      <dc:creator>Thoriq_S_</dc:creator>
      <dc:date>2015-04-25T15:57:41Z</dc:date>
    </item>
    <item>
      <title>I have same problem with you.</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003288#M31016</link>
      <description>&lt;P&gt;I have same problem with you. And I am still looking for solution. I hope anyone who can solve this problem.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2015 03:06:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003288#M31016</guid>
      <dc:creator>Adi_P_</dc:creator>
      <dc:date>2015-04-26T03:06:20Z</dc:date>
    </item>
    <item>
      <title>Hi thoriq, can i see your</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003289#M31017</link>
      <description>&lt;P&gt;Hi thoriq, can i see your code ?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2015 03:08:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003289#M31017</guid>
      <dc:creator>Adi_P_</dc:creator>
      <dc:date>2015-04-26T03:08:44Z</dc:date>
    </item>
    <item>
      <title>sorry, i have lost my code.</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003290#M31018</link>
      <description>&lt;P&gt;sorry, i have lost my code..&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2015 03:26:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003290#M31018</guid>
      <dc:creator>Thoriq_S_</dc:creator>
      <dc:date>2015-04-26T03:26:00Z</dc:date>
    </item>
    <item>
      <title>Quote:David Lu (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003291#M31019</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;David Lu (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;This is known issue and we will fix it in the future release. Thanks for supporting RealSense SDK.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi David,&lt;/P&gt;

&lt;P&gt;I saved Face Data to a .dat file. Next time RealSense demo starts, it automatically load the .dat file. But after the same face into Camera's view, RealSense cannot recognize the face until about 1300ms later. In other words, after loaded registered face data, RealSense&amp;nbsp; cannot recognize the face right now. I write the demo reference to DF_FaceTracking, RecognitionModuleData::QueryDatbaseBuffer() is used to save face data, RecognitionConfiguration::SetDatabaseBuffer() is used to load face&amp;nbsp;data.&amp;nbsp;Do anything else need I to do? Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2015 09:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/WPF-Face-Recognition-error/m-p/1003291#M31019</guid>
      <dc:creator>Xingyi_S_Intel</dc:creator>
      <dc:date>2015-11-27T09:15:00Z</dc:date>
    </item>
  </channel>
</rss>

