Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

change orientation

Hello everyone,

I know a lot of post have been created for changing the orientation camera to portrait (especially this post :http://answers.opencv.org/question/7143/mirror-image-on-android-front-camera/?answer=7152#post-id-7152) but I failed to find the right method for the workaround (run() method in the CameraBridgeViewBase.java class).

I've tried to change the camera orientation from the JavaCameraView.java class but when I launch the application I get an alert view saying the camera cannot be used.

As I have to display some picture in portrait only I have to change the camera view to portrait too.

Could you please tell me how to proceed for changing the camera view to portait mode with the 2.4.6 version?

I really thank you in advance for your help