imageseq
Drivers

Image file sequencer. More...

Image file sequencer.

The imageseq driver simulates a camera by reading an image sequence from the filesystem. The filenames for the image sequence must be numbered; e.g.: "image_0000.pnm", "image_0001.pnm", "image_0002.pnm", etc.

Note that only grayscale images are currently supported.

Compile-time dependencies

- OpenCV

Provides

- This driver supports the camera interface.

Requires

- none

Configuration requests

- none

Configuration file options

- rate (float)
  - Default: 10
  - Data rate (Hz); e.g., rate 20 will generate data at 20Hz.
- pattern (string)
  - Default: "image_%04d.pnm"
  - A printf-style format string for describing the image filenames; the format string must contain at most one integer argument.

Example

    driver
    (
      name "imageseq"
      provides ["camera:1"]
      rate 10
      pattern "image_%04d.pnm"
    )

Todo:
  Add support for color images.

Author
  Andrew Howard

Last updated 12 September 2005 21:38:45