1 | initial version |
Cap set isn't very reliable because a lot of simpel camera drivers don't properly respond under windows. If it is a simple webcam you might be limited to 640x480.
Working out what data format is returned is always a bit of a challenge. Try the various BAYERxxxx options in cvtColor()