Using CameraBridgeViewBase in potrait

asked Oct 28 '13

maduako gravatar image

updated Oct 28 '13

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

Preview: (hide)

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 (Feb 12 '14)edit