Ask Your Question

snort's profile - activity

2020-06-30 08:32:34 -0600 received badge  Notable Question (source)
2016-01-08 14:49:51 -0600 received badge  Popular Question (source)
2013-04-30 14:55:52 -0600 received badge  Scholar (source)
2013-04-30 14:55:45 -0600 commented answer Portrait orientation on Android

Thanks. I have seen Lu's fix, but like you I have the problem of the image being small in portrait mode rather than filling the screen. I'd really like to fix that and haven't found anything in the base classes to address it.

2013-04-17 01:20:10 -0600 received badge  Student (source)
2013-04-16 17:03:54 -0600 received badge  Editor (source)
2013-04-16 17:02:44 -0600 asked a question Portrait orientation on Android

I am building an app based on one of the OpenCV for Android samples in v2.4.4. I need to change the orientation to portrait. Supposedly, setting the rotation in the app manifest file and using the setDisplayOrientation method should do this. However, like some others who've posted, setDisplayOrientation doesn't change the orientation of the video image on my device. I can't find anything but suggestions to use that, yet there seems to be very little evidence that it works. Can someone who knows the inner workings of the OpenCV for Android stuff please comment on this?