Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV captured image resolution vs Fotoapparat

Hi,

I'm working on a project where we need to recognise bubbles as part of an exam. We've been testing different approaches to image taking based on requirements (we need to overlay shapes on the live camera stream) and below are the results.

As we can see, when taking the images directly from Fotoapparat, the canny detection works much much better than the OpenCV implementation. I have tried to adjust the camera resolution (by extending JavaCameraView) amongst many other things, but none of them seem to work, OpenCV captures always perform poorly.

Can anyone point me in the right direction towards capturing one of the frames from OpenCV with the highest possible resolution available to the phone?

Thanks in advance :)

RESULTS:

OpenCV - Raw ROI

enter image description here

OpenCV - Canny transformation on ROI

enter image description here

Fotoapparat - Raw ROI (Compressed 31% so i could upload)

enter image description here

Fotoapparat - Canny transformation on ROI

enter image description here