First time here? Check out the FAQ!
answered 2018-07-30 06:59:24 -0600
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.