Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to get camera preview sizes natively for Android & desktop

I would like to know how to get the supported camera preview sizes on Android and desktop, possibly uniformly. I'm on a completely native framework (Qt) and would like to do this fully natively if possible. Currently, I'm using VideoCapture to get image data on both platforms but the size is basically guessed.