title: OpenCV camera orientation issue
body: <p>I have a simple project that just show the camera with org.opencv.android.JavaCameraView.</p>
  
  <p>my problem is that in default the camera is on landscape mode and I can't change this cause I need to define CameraBridgeViewBase instead of a regular camera intent.</p>
  
  <p>this is a part of my code:</p>
  
  <p>XML code:</p>
  
  <pre><code>        &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent" &gt;
  
              &lt;org.opencv.android.JavaCameraView
                  android:layout_width="fill_parent"
                  android:layout_height="300dp"
                  android:visibility="gone"
                  android:id="@+id/HelloOpenCvView"
                  opencv:show_fps="true"
                  opencv:camera_id="1" /&gt;
  
  
          &lt;/LinearLayout&gt;  
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content" &gt;
  
  
              &lt;Button
                  android:id="@+id/BtnVideo"
                  android:layout_marginLeft="2dp"
                  android:layout_marginRight="2dp"                    
                  android:layout_width="0dp"
                  style="@style/button"
                  android:layout_height="wrap_content"
                  android:layout_weight="1.00"
                  android:text="@string/videoBtn"
                  android:textSize="18dip" /&gt;
  
  
          &lt;/LinearLayout&gt;   
  </code></pre>
  
  <p>Java Code :</p>
  
  <pre><code> CameraBridgeViewBase mOpenCvCameraView;
      Button VideoButton;
   protected void onCreate(Bundle savedInstanceState) {
  
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          overridePendingTransition(0, 0);
  
          VideoButton = (Button) this.findViewById(R.id.BtnVideo);
  
          VideoButton.setOnClickListener(onClickListener);
  
          mOpenCvCameraView= (CameraBridgeViewBase) findViewById(R.id.HelloOpenCvView);
          mOpenCvCameraView.setVisibility(SurfaceView.INVISIBLE);
  
      } 
  
          private OnClickListener onClickListener = new OnClickListener() {
  
              @Override
              public void onClick(View v) {
                      switch (v.getId()){
  
                          case R.id.BtnVideo:
                              if(mOpenCvCameraView.getVisibility() == SurfaceView.VISIBLE)
                              {
                                  mOpenCvCameraView.setVisibility(SurfaceView.INVISIBLE);
                              }
                              else
                              {
                                  mOpenCvCameraView.setVisibility(SurfaceView.VISIBLE);
                              }
  
                              break;
                          default :
                              break;
                      }
  
              }
          };
  
  
          public void onResume() {
              super.onResume();
              overridePendingTransition(0, 0);
              OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_3, this, mLoaderCallback);
          }
           public void onPause()
           {
               super.onPause();
               if (mOpenCvCameraView != null)
                   mOpenCvCameraView.disableView();
           }
           public void onDestroy() {
               super.onDestroy();
               if (mOpenCvCameraView != null)
                   mOpenCvCameraView.disableView();
           }
           public void onCameraViewStarted(int width, int height) {
           }
  
           public void onCameraViewStopped() {
           }
           public Mat onCameraFrame(CvCameraViewFrame inputFrame) {
               return inputFrame.rgba();
           }
  
          private BaseLoaderCallback mLoaderCallback = new BaseLoaderCallback(this) {
              @Override
              public void onManagerConnected(int status) {
                  switch (status) {
                      case LoaderCallbackInterface.SUCCESS:
                      {
                          //Log.i(TAG, "OpenCV loaded successfully");
                          mOpenCvCameraView.enableView();
                      } break;
                      default:
                      {
                          super.onManagerConnected(status);
                      } break;
                  }
              }
          };
  </code></pre>
  
  <p>So how can I change the default orientation?</p>
  
  <p>Thanks!</p>