InputVideo

Grabs the video from a camera using FFmpeg.

Example XML definition

A simple example

  <module
      class = "InputVideo"
      name = "InputVideo"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "InputVideo".string
nameThe name of this instance of the module.string
size_xSize of the imageint640
size_ySize of the imageint480
list_devicesList the device ids of available devices on start-upboolno
frame_rateFramerateint30
ididint0

Module Connections

Outputs

NameDescription
REDThe red channel.
GREENThe green channel.
BLUEThe blue channel.
INTENSITYThe intensity channel.

Author

Birger Johansson
m@birgerjohansson.com
Lund University Cognitive Science

Files

InputVideo.h
InputVideo.cc
InputVideo.ikc

blog comments powered by Disqus