title: barcodescanner library from dm77 using front camera
body: <p>I'm using the <a href="https://github.com/dm77/barcodescanner" rel="nofollow">barcodescanner library from dm77</a> and it works just great.</p>
  
  <p>Now I would like to use the <strong>front camera</strong> instead of the rear camera.</p>
  
  <p>I can't find a way to do so, has anyone found a way to achieve this?</p>
  
  <p>I made this work with ZXing native libraries, using <code>Camera.open(Camera.CameraInfo.CAMERA_FACING_FRONT)</code>, but I now would like to use the other library that uses ZBar instead.</p>
  
  <p>DM77's barcodescanner uses <a href="https://github.com/dm77/barcodescanner/blob/master/core/src/main/java/me/dm7/barcodescanner/core/CameraUtils.java" rel="nofollow">CameraUtils</a>'s <code>getCameraInstance()</code> to get the camera, which uses <code>Camera.open()</code>. I would like to change that behavior wihout having to clone and modify the original sources.</p>