Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 353

OpenCV4Android Lower Screen Resolution While Maintaining Fullscreen

$
0
0
I am making an OpenCV app on android that needs a lowered resolution of 640x480 to compensate for the heavy image processing I am doing. I do this in the main activity like so: mOpenCvCameraView.setMaxFrameSize(640, 480); Where mOpenCvCameraView is of type JavaCameraView. The problem with this is that it shrinks the dimensions of the actual frame so that the camera preview is not fullscreen. Is there a way to stretch the small frame to fit my phone screen's dimensions, or is there a better way of going about this? Thanks in advance!

Viewing all articles
Browse latest Browse all 353

Trending Articles