Answer the question
In order to leave comments, you need to log in
How to set camera resolution in OpenCV on Android?
Good day to all. I use the OpenCV 3.0.0 library on Android, I connect the camera. The resolution cannot be adjusted, it still remains at the minimum, although it is set to normal:
CameraBridgeViewBase openCVcamera = new JavaCameraView(this, -1);
setContentView(openCVcamera);
openCVcamera.setMinimumWidth(1280);
openCVcamera.setMinimumHeight(960);
openCVcamera.setMaxFrameSize(1280, 960);
openCVcamera.setCvCameraViewListener(this);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question