Face recognizer with camera in portrait mode

asked 2016-06-15 07:52:25 -0500

sp gravatar image

updated 2016-06-15 08:37:34 -0500

Hello. I am running the following https://github.com/ayuso2013/face-rec... in Android Studio (Through the link found in the Readme.md). I am not sure what the fault is that is why i am putting in all the project, thanks in advance for your understanding for that. When the application runs the front camera can only be used in landscape mode. What i am trying to achieve is the same functionality in portrait mode.Please see the following photos in order to better understand what i am saying image description landscape mode image description portrait mode
I have tried multiple ways even to add the following function

 public void flippareTo() {

    mCamera.setDisplayOrientation(90);
}

and call through mOpenCvCameraView.flippareTo(); inside public void onCreate(Bundle savedInstanceState) {. What am i doing wrong here?

edit retag flag offensive close merge delete