Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to detect face by portrait mode?

Hi, I'm studying OpenCV recently.

OpenCV for Android sample code(2.4.6) is tested.

I have some wonder.

I can detect face by sample code(OpenCV Sample - face-detection). but, can't detect face by portrait mode(vertical mode) on android device.

First, I try set Front-Camera by portrait mode.

//added code in onCameraFrame() Core.flip(mRgba, mRgba, 1);

Still do not recognize face.

How to detect face by portrait mode?

Thank you.