Ask Your Question
0

change orientation

asked 2013-10-01 01:49:01 -0600

nakano gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-10-03 09:12:10 -0600

itay gravatar image

I found 1 way that maybe can help you.

My question

i don't change anything in the opencv files just use the onframecreate() function to chage the orientation.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-01 01:49:01 -0600

Seen: 3,209 times

Last updated: Oct 03 '13