Ask Your Question

Revision history [back]

android Face Detect with portrait activity opencv 2.4.3

I am first to use OpenCV, I am try to run the android project "OpenCV Sample - face-detection". This project only capture image camera with horizontal, and detect face and draw rectangle on captured image, but I need to detect face with vertical.

So I try to rotate camera preview to vertical and set activity to portrait, but it not work. it still detect face with horizontal.

Could there are some of step need to do when i detect face with vertical? If possible, please provide/suggest some of step or code that how to detect face with vertical.