title: android.media Image to byte[]
body: <p>I'm using ArSceneView ArFrame to get the camera image</p>
  
  <pre><code>arFragment.getArSceneView().getArFrame().acquireCameraImage()"
  </code></pre>
  
  <p>This returns an android.media Image model. I'm trying to convert this image to     :</p>
  
  <pre><code>com.google.api.services.vision.v1.model.Image
  </code></pre>
  
  <p>The only way I can tell that I can do that is by converting the android.media Image to a btye[] and then using the byte[] to create the vision Image model. My problem is that I cannot figure out how to convert the android.media Image.</p>