55   if (!_pixel_format.empty()) {
    56     out << 
" " << _pixel_format;
    59   out << 
" @ " << 
get_fps() << 
"Hz";
    62 INLINE std::ostream &operator << (std::ostream &out, 
const WebcamVideo &n) {
 int get_size_x() const
Returns the camera's size_x.
 
Allows you to open a webcam or other video capture device as a video stream.
 
int get_size_y() const
Returns the camera's size_y.
 
const std::string & get_pixel_format() const
Returns the camera's pixel format, as a FourCC code, if known.
 
void output(std::ostream &out) const
Outputs the WebcamVideo.
 
double get_fps() const
Returns the camera's framerate.