Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

this is a limitation of the opencv against the Linux video API. I'm using a logitech C170, lsusb -v shows that it supports a lot of resolutions and formats (can even do BGR which would be good to feed opencv with).

on windows I can set the resolution and FPS just fine with this camera. for linux I had to change the opencv source (there's a define somewhere, i think #DEFAULT_WIDTH or something like that) and you can set to 320x240, for example. but it's a hardcoded value.