Axis205

IKAROS: Reference > Modules > I/O Modules > Video > NetworkCamera

Module used for grabbing images from a network camera. The module has been tested with the the Axis 2130 pan-til-zoom camera and probably works also with other Axis cameras. By changing the parameters, it should also be possble to use this modules to download images from camera servers on the Internet.

Example XML definitions

  <module
    class   = "Axis205"
    name    = "Camera"
    type	= "JPEG"
    size_x	= "352"
    size_y	= "240"
    host_ip = "192.168.0.2"
    host_port = "80"
    image_request = "/jpg/image.jpg"
  />

Attributes

class
The class name for the module; must be "Axis205".
name
The name of this instance of the module.
type
Type of image data: JPEG (default), MJPG
grab
Type of grabbing: synchronous (default), asynchronous
size_x
The size of the image.
size_y
The size of the image.
host_ip
The IP address of the camera.
host_port
The port used for the camera (Defult is 80).
image_request
The path to the image.

Module Connections

Inputs

NONE

Outputs

INTENSITY
The intensity of the image.
RED
The red channel of the image.
GREEN
The green channel of the image.
BLUE
The blue channel of the image.

The image sizes should be calculated automatically from the first image.

Files

Axis205.h
Axis205.cc