InputVideoQT
This page describes a module in the upcoming version 1.2 of Ikaros and may not be correct for version 1.1
Module used for grabbing images from a video source using QuickTime such as iSight or a DV camera with FireWire. The module only works with OS X. The image is scaled to the indicated size regardless of the camera resolution. The module operates in asynchronous mode, which means that the image retreived is the previous one. Ikaros continues to run while the next image is transferred from the camera and the module gets it at the next tick. This can appear confusing when Ikaros is run from the viewer.
Example XML definition
A simple example
<module
class = "InputVideoQT"
name = "VideoSource"
size_x = "640"
size_y = "480"
/>
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| class | The class name for the module; must be "InputVideoQT". | string | |
| name | The name of this instance of the module. | string | |
| size_x | Size of the grabbed frame | int | |
| size_y | Size of the grabbed frame | int |
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 |
Limitations
It should be possible to run the module also in synchronous mode, where the module would wait for each new frame before continuing.
It is not always possible to open the camera again when Ikaros has not exited normally. This can usually be fixed by dicsonnecting the camera and connecting it again or by waiting a minute or two.
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
InputVideoQT.h
InputVideoQT.cc
InputVideoQT.ikc