title: Drawing on a SurfaceView
body: <p>I've recently discovered the possibilities of the facerecognition api in android. I've seen that its not possible to draw a rectangle around a face, when its viewed live in a <code>SurfaceView</code>. But I have an idea, the <code>onFaceDetection</code> Listener has a <code>Face[]</code> as parameter. For each of these objects I can find the face's <code>Rect</code> like this:</p>
  
  <pre><code>for (android.hardware.Camera.Face f : faces) {
          Rect rect = f.rect;
          Log.d("Top: ", Integer.toString(rect.top));
          Log.d("Right: ", Integer.toString(rect.right));
          Log.d("Bottom: ", Integer.toString(rect.bottom));
          Log.d("Left: ", Integer.toString(rect.left));
  }
  </code></pre>
  
  <p>By having all this, isn't it possible to add a <code>View</code> over the <code>SurfaceView</code> where this Rectangle can be drawn? If so, how can I draw a rectangle on the <code>SurfaceView</code> by using this information ?</p>