1 | initial version |
sadly, none of the VideoCapture::set() or get() settings are guaranteed to work, it depends on your hardware, drivers, os, opencv video backend even.
most webcams only support certain sizes, e.g. multiples of vga or pal resolution, not arbitrary numbers.
in any case, please check the return value from videoStream.set() for failure.