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. It requests a MJPEG stream.
Example XML definition
A simple example
<module class = "NetworkCamera" name = "NetworkCamera" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "NetworkCamera". | string | |
name | The name of this instance of the module. | string | |
size_x | The size of the image | int | |
size_y | The size of the image | int | |
host_ip | The IP address of the camera | string | |
host_port | The port used for the camera | int | 80 |
image_request | Not currently used | string | AXIS streaming |
fps | Desired frames per seond | int | 10 |
compression | Requested compression | int | 50 |
Module Connections
Outputs
Name | Description |
---|---|
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 |
Bugs
The image sizes should be calculated automatically from the first image.
The module currently ignores the image_request parameter and works only with AXIS cameras.
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
NetworkCamera.h
NetworkCamera.cc
NetworkCamera.ikc