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
OpenCV - Canny transformation on ROI
Fotoapparat - Raw ROI (Compressed 31% so i could upload)
Fotoapparat - Canny transformation on ROI