Using CameraBridgeViewBase in potrait

asked 2013-10-28 07:45:51 -0500

maduako gravatar image

updated 2013-10-28 13:04:39 -0500

berak gravatar image

Hi guys,

I've just started using latest version of the openCV lib. It seems that the face detection sample only works correctly in landscape orientation. After reading few answers it seems you need to rotate the image before it is drawn. I have been trying to achieve this without any success.

Is there any documentation which can allow face detection in portrait, from my research it appears the functionality uses the CameraBridgeViewBase class.

Thank You

edit retag flag offensive close merge delete

Comments

You ever figure this out? There seems to not be a solution anywhere on the internet for this. cam.setDisplayOrientation(90) simply doesn't work. Any other solutions out there rely on pixel manipulations that vastly degrade the framerate....

wpccolorblind gravatar imagewpccolorblind ( 2014-02-12 00:55:02 -0500 )edit