Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

face-detect with portrait mode and front-camera

I tried to make my own face detect app on Android. The app should be used in portrait display, using front-camera. Firstly, I made it like below:

image description

knowing that I have to rotate the view or the camera, I looked for help in this forum and found the method "mCamera.setDisplayOriention(90)" cannot make sense in Opencv sample's struction. Then I got my way in link text .The result came out like below:

image description

I had successfully added the face-detection by studying the sample. But I want some improvement because the black border is ugly.

Seeking for advise here.