[Noob] Camera orientation

71 views
Skip to first unread message

phingage

unread,
May 7, 2012, 10:48:50 AM5/7/12
to android...@googlegroups.com

I have successful build and run samples on my Samsung Nexus, now I'm doing same modification of Sample-face-detection, in particular i want use frontal camera, I see just add +1 to CV_CAP_ANDROID+1, now i woulf like to know how set orientation of phone because now the orientation is horizontal and i would like to use vertical orientation of phone like normal usage, how I can accomplish this?

Sorry for noob question!

AlexG

unread,
May 8, 2012, 1:48:58 AM5/8/12
to android...@googlegroups.com
Modify android:screenOrientation to be "portrait" in AndroidManifest.xml.
Reply all
Reply to author
Forward
0 new messages