title: How to display OpenCV JavaCameraView front camera in mirror image (Android)?
body: <p>I am currently experimenting with the openCV's java example on face detection in android. However, the view created by the camera is not in mirror imaging.I tried setting the <code>android:screenOrientation</code> to <code>reverseLandscape</code> but it did not work. I would like to try to achieve this, any suggestions? </p>
  
  <p>Code in layout:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent" &gt;
  
  &lt;org.opencv.android.JavaCameraView
      android:id="@+id/fd_activity_surface_view"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:screenOrientation="reverseLandscape"
      /&gt;
  </code></pre>
  
  <p></p>
  
  <p>instantiating</p>
  
  <pre><code>private CameraBridgeViewBase mOpenCvCameraView;
  </code></pre>
  
  <p>on OpenCV loaded</p>
  
  <pre><code>mOpenCvCameraView.setCameraIndex(1);
  mOpenCvCameraView.enableView();
  </code></pre>
  
  <p>onCreate() method</p>
  
  <pre><code>mOpenCvCameraView = findViewById(R.id.fd_activity_surface_view);
  mOpenCvCameraView.setCvCameraViewListener(this);
  </code></pre>
  
  <p>mOpenCvCameraView did not contain a setDisplayOrientation() method and setRotation(180) returned me with a black display.</p>