title: Intel RealSense face recognition module in java
body: <p>I am working in a research team with the SDK 2016 R1    Intel_rs_sdk_offline_package_r6_8.0.24.6528
  Face recognition module and F200 camera.</p>
  
  <p>I am trying to run a basic java (jdk 8u60 , Eclipse 4.4(Luna)) application for one face recognition from <a href="https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk#comment-1869168" rel="nofollow">here</a>  but it is not working. The configuration code of the module is performed as the documentation says:</p>
  
  <pre><code>PXCMFaceData.Face face = faceData.QueryFaceByIndex(0);
  PXCMFaceData.DetectionData faceDetectionData = face.QueryDetection();
  recognitionData = face.QueryRecognition();
  recognitionData.RegisterUser();
  PXCMFaceData.RecognitionModuleData recognitionModuleData = faceData.QueryRecognitionModule();
  ...
  </code></pre>
  
  <p>The code example also uses the face detection module that is working perfectly. I am debugging line by line and I detect an unusual behavior in the following line: </p>
  
  <pre><code>int nBytes = recognitionModuleData.QueryDatabaseSize();  ...
  </code></pre>
  
  <p>Where <code>nBytes</code> is always <code>0</code>.</p>
  
  <p>Can someone confirm if the Face Recognition module is not yet fully functional in java?</p>
  
  <p>best regards     </p>