Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you have to use it like:

bool ok = cap.set(CAP_PROP_MODE, CAP_PROP_GRAY);
// and CHECK the return value... !

and then, it may or may not be supported by your os/backend/hw.