I am implementing the Android OpenCV SDK to make a camera app. I would like it to work for multiple UI orientations. I am extending the JavaCameraView in SDK 2.4.3.2. I am trying to figure out how to rotate the camera. I know what I have to do is write something like this
camera.setDisplayOrientation(90);
to get it to work in portrait, but I have tried it in multiple places, and none have worked for me. If anyone has done a similar thing, please let me know