title: android face detection coordinate
body: <p>I am using Android's api 14 Camera Face Detection to draw rectangle over face detected by the camera.
  It works in most devices (Galaxy Nexus, S4, S Note 2). But in S3 SGH-T999 and SGH-I747 (Tmobile and AT&amp;T locked versions) the Face.rect object returned was outside the normal range of [-1000, 1000].
  Specifically, Face.rect.left = -1165 (or other numbers &lt; -1000).</p>
  
  <p>Quote from the documentation<a href="http://developer.android.com/reference/android/hardware/Camera.Face.html#rect" rel="nofollow"> [Camera.Face.rect]</a>:
  "The coordinates can be smaller than -1000 or bigger than 1000. But at least one vertex will be within (-1000, -1000) and (1000, 1000)."</p>
  
  <p>This is the method that i use <a href="http://developer.android.com/reference/android/hardware/Camera.FaceDetectionListener.html#onFaceDetection%28android.hardware.Camera.Face%5B%5D,%20android.hardware.Camera%29" rel="nofollow"> [link here]</a> :
  onFaceDetection(android.hardware.Camera.Face[], android.hardware.Camera)</p>
  
  <p>Other data:</p>
  
  <ul>
  <li>app is set to portrait only</li>
  <li>app use front facing camera only</li>
  </ul>
  
  <p>My questions are:</p>
  
  <ol>
  <li>Have anyone experienced the same problem?</li>
  <li>What does it mean by this smaller than -1000 coordinate ?</li>
  <li>How to solve this problem in order to correctly draw the correct rectangle over detected face?</li>
  </ol>
  
  <p>I have looked around for a week and did not find this problem asked by other users.
  Again, my app works fine in other devices except those two.</p>
  
  <p>Thanks in advance.</p>