Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to take picture with CameraBridgeViewBase or change it resolution

Hello

I am using OpenCV4Android 2.4.9. My app is using camera via CameraBridgeViewBase object. For now I am taking picture by converting single camera frame Mat object to Bitmap and saving it on SD card. Output image is very small - 800x480. I have Nexus 4 which is capable of 1280x720 resolution. If I take picture with phone camera, resolution is even higher.

1) How can I set parameters to CameraBridgeViewBase object, so the preview size is higher resolution? 2) Is there any other right way of taking photos, maybe my method is wrong?