title: Face recognition using javacv android
body: <p>I had tried with javacv face recognition library. 
   I can successfully recognize two static images but in inconsistent way. It is returning correct result, but same scenario with different images not getting result, it is throwing an error.</p>
  
  <p>Scenario 1: Same Two Images(i.e. imag1.png), Same Size in terms of bytes and in terms of height and width 
  Result of scenario 1: Correct.</p>
  
  <p>Now I am changing images.</p>
  
  <p>Scenario 2: Same Two Images(i.e. imag2.png), Same Size in terms of bytes and in terms of height and width 
  Result of scenario 2: Throwing an exception</p>
  
  <pre><code>Caused by: java.lang.RuntimeException: /home/saudet/workspace/android/OpenCV-2.3.1/modules/legacy/src/eigenobjects.cpp:1629: error: (-5) Different sizes of objects in function cvEigenDecomposite 
  </code></pre>
  
  <p>what could be the resolution of this error?</p>
  
  <p>Thanks in advance.</p>