OpenCV Camera for Android
CRotating, Orienting, and Scaling the Camera Preview to fit your device
TLDR: OpenCV’s camera doesn’t handle a mobile device’s portrait mode well by default. Grab the code below and drop it into CameraBridgeViewBase
to utilize the OpenCV rear and front facing Camera in full screen portrait orientation. Read More.