<?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: Reloading database from file through SetDatabaseBuffer not working in Face recognition. in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389502#M2064</link>
    <description>&lt;P&gt;So if we want to save more than 33 users then we have to create multiple database and somehow manage accordingly. Actually we need to store and match these users with our database in Sql server and it may be more than 33 users.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2017 09:35:00 GMT</pubDate>
    <dc:creator>DL2</dc:creator>
    <dc:date>2017-07-18T09:35:00Z</dc:date>
    <item>
      <title>Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389494#M2056</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;     I need to save the recognized user in a database, so the app can load the data later for the camera to recognize the user as a registered user. I downloaded a sample application and it works well. it detects users and register the user but when i close the application and restart then it never recognizes the user if the user is loaded from the database file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saved the data in database with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        private void SaveDatabaseToFile()&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            // Allocate the buffer to save the database&lt;/P&gt;&lt;P&gt;            PXCMFaceData.RecognitionModuleData recognitionModuleData = faceData.QueryRecognitionModule();&lt;/P&gt;&lt;P&gt;            Int32 nBytes = recognitionModuleData.QueryDatabaseSize();&lt;/P&gt;&lt;P&gt;            Byte[] buffer = new Byte[nBytes];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            // Retrieve the database buffer&lt;/P&gt;&lt;P&gt;            recognitionModuleData.QueryDatabaseBuffer(buffer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            // Save the buffer to a file&lt;/P&gt;&lt;P&gt;            // (NOTE: production software should use file encryption for privacy protection)&lt;/P&gt;&lt;P&gt;            File.WriteAllBytes(DatabaseFilename, buffer);&lt;/P&gt;&lt;P&gt;            dbState = "Saved";&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reloading the saved database file i used this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; private void LoadDatabaseFromFile()&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            if (File.Exists(DatabaseFilename))&lt;/P&gt;&lt;P&gt;            {&lt;/P&gt;&lt;P&gt;                Byte[] buffer = File.ReadAllBytes(DatabaseFilename);&lt;/P&gt;&lt;P&gt;                recognitionConfig.SetDatabaseBuffer(buffer);&lt;/P&gt;&lt;P&gt;                dbState = "Loaded";&lt;/P&gt;&lt;P&gt;            }&lt;/P&gt;&lt;P&gt;            else&lt;/P&gt;&lt;P&gt;            {&lt;/P&gt;&lt;P&gt;                dbState = "Not Found";&lt;/P&gt;&lt;P&gt;            }&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 12:57:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389494#M2056</guid>
      <dc:creator>DL2</dc:creator>
      <dc:date>2017-07-15T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389495#M2057</link>
      <description>&lt;P&gt;Are you using the '2016 R3' RealSense SDK, also know as 'Essentials'?  If so, there is a known issue with facial recognition databases in 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;You should use the '2016 R2' SDK version instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have R3 installed, I recommend uninstalling it and then installing R2 using the link below, which launches immediately in your browser as a 1.8 gb download.  Version R2 is an all-in-one package, so you do not need to install it as multiple modules like with the R3 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/9078/intel_rs_sdk_offline_package_10.0.26.0396.exe"&gt;http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/9078/intel_rs_sdk_offline_package_10.0.26.0396.exe&lt;/A&gt; &lt;A href="http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/9078/intel_rs_sdk_offline_package_10.0.26.0396.exe"&gt;http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/9078/intel_rs_sdk_offline_package_10.0.26.0396.exe&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 13:26:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389495#M2057</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-15T13:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389496#M2058</link>
      <description>&lt;P&gt;Thanks MartyG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i downloaded this sample application &lt;A href="https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk"&gt;https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk&lt;/A&gt; Code Sample: Facial Recognition Using Intel® RealSense™ SDK | Intel® Software and libpxcclr.cs.dll&lt;/P&gt;&lt;P&gt;from &lt;A href="https://registrationcenter.intel.com/en/products/postregistration/?sn=CM4Z-WKGMDWB3&amp;amp;EmailID=sujeet.sng999%40gmail.com&amp;amp;Sequence=2057632&amp;amp;dnld=t"&gt;https://registrationcenter.intel.com/en/products/postregistration/?sn=CM4Z-WKGMDWB3&amp;amp;EmailID=sujeet.sng999%40gmail.com&amp;amp;Sequence=2057632&amp;amp;dnld=t&lt;/A&gt; Download Intel® RealSense™ SDK Face Tracking &amp;amp; Recognition for Windows* - Intel® Products project bin. I am very new to this so i don't know about SDK version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 13:40:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389496#M2058</guid>
      <dc:creator>DL2</dc:creator>
      <dc:date>2017-07-15T13:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389497#M2059</link>
      <description>&lt;P&gt;Welcome to RealSense!  You have downloaded the optional module of '2016 R3' for face tracking.  The correct order for installing R3 is actually to download and install the core 'Essentials' module first, and then the 'Face Tracking' module secondly after that.  However, as I said, if you are developing a face database application then your best option is to uninstall this face tracking module and install the '2016 R2' RealSense SDK using the link provided above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also do not be discouraged about your initial problems with facial recognition.  It has actually been one of the most troublesome aspects of RealSense to get working over the years, and many seasoned developers have been reduced to tears over it.  However, these days there is now far more accumulated knowledge and reference material about it, so hopefully you should be able to get your program working successfully soon!  &lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 13:46:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389497#M2059</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-15T13:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389498#M2060</link>
      <description>&lt;P&gt;Thanks MartyG,&lt;/P&gt;&lt;P&gt;I am going to try with the above link &lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 05:38:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389498#M2060</guid>
      <dc:creator>DL2</dc:creator>
      <dc:date>2017-07-17T05:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389499#M2061</link>
      <description>&lt;P&gt;Good luck!  Please let us know how you get on.  &lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 06:44:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389499#M2061</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-17T06:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389500#M2062</link>
      <description>&lt;P&gt;Hi  MartyG,&lt;/P&gt;&lt;P&gt;Is there any maximum limit for user registration?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:17:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389500#M2062</guid>
      <dc:creator>DL2</dc:creator>
      <dc:date>2017-07-18T09:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389501#M2063</link>
      <description>&lt;P&gt;Intel support staff member David Lu said to another person asking this in January 2015 that the maximum number of faces that could be stored in the facial recognition database is 33.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:22:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389501#M2063</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-18T09:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389502#M2064</link>
      <description>&lt;P&gt;So if we want to save more than 33 users then we have to create multiple database and somehow manage accordingly. Actually we need to store and match these users with our database in Sql server and it may be more than 33 users.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:35:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389502#M2064</guid>
      <dc:creator>DL2</dc:creator>
      <dc:date>2017-07-18T09:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389503#M2065</link>
      <description>&lt;P&gt;An article on RealSense face recognition databases said that "it is possible to save and open multiple recognition database files with any valid filename".  Somebody added to this, "It's possible to swap databases around though, so you can cycle through them if you need to."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A script for swapping databases is offered by a user in this discussion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/realsense/topic/602096"&gt;https://software.intel.com/en-us/forums/realsense/topic/602096&lt;/A&gt; Using multiple Face Recognition databases &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further research found that after that initial figure of 33 was given in Jan 2015, it was reduced to 20 storable faces per database in the Dec 2015 SDK update..&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 10:00:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389503#M2065</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-18T10:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389504#M2066</link>
      <description>&lt;P&gt;Hi   MartyG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't you think creating multiple databases and reloading them one by one may cause performance issue? And if a face missed to recognize in specific database then no user will be found.&lt;/P&gt;&lt;P&gt;Is there any possible way to increase the database size?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 12:27:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389504#M2066</guid>
      <dc:creator>DL2</dc:creator>
      <dc:date>2017-07-18T12:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading database from file through SetDatabaseBuffer not working in Face recognition.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389505#M2067</link>
      <description>&lt;P&gt;Yes, others too thought that swapping between databases in this way would cause delays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Development has apparently ceased on the Windows version of the RealSense face module, so an update by Intel to add support to the Windows RealSense SDK for additional faces is unlikely.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't find any way to increase the number of faces that can be stored in a database.  I would expect that the limit is hard-wired into the RealSense face module and is not editable.  The usual way that the checking of files can be sped up is to load them all into memory on the PC so that there is not a delay in accessing the files on the hard drive.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 12:54:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Reloading-database-from-file-through-SetDatabaseBuffer-not/m-p/389505#M2067</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-18T12:54:14Z</dc:date>
    </item>
  </channel>
</rss>

