enum cv::VideoCaptureModes

Overview

Generic camera output modes identifier. Moreā€¦

#include <videoio.hpp>

enum VideoCaptureModes
{
    CAP_MODE_BGR  = 0,
    CAP_MODE_RGB  = 1,
    CAP_MODE_GRAY = 2,
    CAP_MODE_YUYV = 3,
};

Detailed Documentation

Generic camera output modes identifier.

Currently, these are supported through the libv4l backend only.

Enum Values

CAP_MODE_BGR

BGR24 (default)

CAP_MODE_RGB

RGB24.

CAP_MODE_GRAY

Y8.

CAP_MODE_YUYV

YUYV.